coreboot-kgpe-d16/src/mainboard/google/nyan
Hung-Te Lin 86bd91a69a nyan*: Clear VDDIO_SDMMC3 to reset SD card reader.
When across warm reset, if VDD_3V3_SD_CARD gets power-cycled but VDDIO_SDMMC3
does not, we will get ~1.5V leakage on VDD. To fix that, we reset VDDIO_SDMMC3
to 0 along with VDD_3V3_SD_CARD in Coreboot.  Payloads must turn on VDDIO_SDMMC3
explicitly before accessing SD card.

Note the warnings of "VDD_SDMMC must set early" in comment seems only happens on
U-Boot and can be removed.

BUG=chrome-os-partner:27053
BRNACH=nyan
TEST=Ctrl-U to boot from SD card, login and type "reboot", then Ctrl-U to boot
     again. Without this patch, system will fail in loading kernel.

Original-Change-Id: I7f85995317d18587d514ea3afcff3bfea0a33e93
Original-Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/196961
Original-Reviewed-by: Gabe Black <gabeblack@chromium.org>
Original-Tested-by: Andrew Bresticker <abrestic@chromium.org>
(cherry picked from commit 2cfdb78d9dc229a3c06f19bbe137d59d923908a4)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: Ie7d814e0424478c35a56fbc959437ee6a555684a
Reviewed-on: http://review.coreboot.org/7866
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2014-12-19 23:47:07 +01:00
..
bct nyan*: Fix unexpected symbol (CR) when converting DOS-formatted BCT config. 2014-12-15 20:11:34 +01:00
board_info.txt Add board_info for all Google/Intel boards mitting the file 2014-10-17 10:12:08 +02:00
boardid.c tegra124/nyan: display, clock, and other updates 2014-09-13 02:00:03 +02:00
boardid.h tegra124/nyan: display, clock, and other updates 2014-09-13 02:00:03 +02:00
bootblock.c nyan: big: Set the i2c controller frequencies appropriately. 2014-11-13 06:27:40 +01:00
chromeos.c tegra124/nyan: various fixes and additions 2014-09-12 21:59:45 +02:00
devicetree.cb nyan*: Add fast link training functions 2014-12-19 23:46:50 +01:00
Kconfig nyans: prepare for vboot verification of ramstage 2014-12-15 20:14:43 +01:00
mainboard.c nyan*: Disable SD card reader power gpio. 2014-12-19 23:47:00 +01:00
Makefile.inc tegra/nyan*: sdram updates 2014-10-22 03:56:49 +02:00
pmic.c nyan*: Clear VDDIO_SDMMC3 to reset SD card reader. 2014-12-19 23:47:07 +01:00
pmic.h tegra124/nyan: display, clock, and other updates 2014-09-13 02:00:03 +02:00
romstage.c nyan*: cbmem: Move the call to cbmemc_reinit. 2014-12-17 20:49:23 +01:00
sdram_configs.c nyan: Update 924MHz BCT w/latest qual'd cfg, use 924 as default speed for 2GB 2014-11-13 06:24:42 +01:00
sdram_configs.h tegra/nyan*: sdram updates 2014-10-22 03:56:49 +02:00