glados: Support reading memory strap GPIOs to select SPD
commitd8d686663c3a9bd8cbcfb2b7a0d81ce4af678779
authorDuncan Laurie <dlaurie@chromium.org>
Wed, 22 Jul 2015 16:21:29 +0000 (22 09:21 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 24 Jul 2015 13:35:15 +0000 (24 15:35 +0200)
tree885428533ca7a3333d5069ad911d6cc7c54f123b
parent31be8e403f65a3e086168bf088355ba71368531c
glados: Support reading memory strap GPIOs to select SPD

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
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: d81e969c5950fd89bb745d1403abddb08a942f83
Original-Change-Id: Iffb0bd5c176f2adbdd9302d9bff5b7bde725d671
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/287436
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11046
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/mainboard/google/glados/spd/Makefile.inc
src/mainboard/google/glados/spd/hynix_dimm_H9CCNNN8JTBLAR.spd.hex [new file with mode: 0644]
src/mainboard/google/glados/spd/hynix_dimm_H9CCNNNBLTALAR.spd.hex [new file with mode: 0644]
src/mainboard/google/glados/spd/spd.c