glados: Support reading memory strap GPIOs to select SPD

Hardware / Coreboot - Duncan Laurie [chromium.org] - 24 July 2015 08:35 UTC

Add some board specific code to enable the memory configuration GPIOs in GPIO input mode and read them to determine which memory type is on the board.

Also add the other memory types that are not yet present in the glados mainboard directory.

This should be replaced with the real gpio infrastructure once it is ready.

BUG=chrome-os-partner:43069 BRANCH=none TEST=build and boot on glados

Change-Id: I7a9ce10e92ad6681528572e87b6cfee29880841a

d8d6866 glados: Support reading memory strap GPIOs to select SPD
src/mainboard/google/glados/spd/Makefile.inc | 6 ++-
.../glados/spd/hynix_dimm_H9CCNNN8JTBLAR.spd.hex | 16 +++++++
.../glados/spd/hynix_dimm_H9CCNNNBLTALAR.spd.hex | 16 +++++++
src/mainboard/google/glados/spd/spd.c | 44 +++++++++++++++++---
4 files changed, 75 insertions(+), 7 deletions(-)

Upstream: review.coreboot.org


  • Share