From 82055feb30291f522536a908ede87a5d07a7eae0 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Fri, 16 Jan 2015 17:42:08 -0800 Subject: [PATCH] brain: remove sdmmc_power_off() in romstage LDO4 and LDO5 are not turned on with the boot0 and boot1 RK808 strappings that we use on Brain. BUG=none BRANCH=none TEST=built and booted on brain Signed-off-by: David Hendricks Change-Id: I846ef9d67a780cc07414d545524b9ec0b8490cf1 Reviewed-on: https://chromium-review.googlesource.com/241734 Reviewed-by: Julius Werner Reviewed-on: https://chromium-review.googlesource.com/242160 Tested-by: Julius Werner Commit-Queue: Julius Werner --- src/mainboard/google/veyron_brain/romstage.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mainboard/google/veyron_brain/romstage.c b/src/mainboard/google/veyron_brain/romstage.c index b073c34ebd..e41f2ebca9 100644 --- a/src/mainboard/google/veyron_brain/romstage.c +++ b/src/mainboard/google/veyron_brain/romstage.c @@ -77,12 +77,6 @@ static void configure_l2ctlr(void) write_l2ctlr(l2ctlr); } -static void sdmmc_power_off(void) -{ - rk808_configure_ldo(4, 0); /* VCCIO_SD */ - rk808_configure_ldo(5, 0); /* VCC33_SD */ -} - void main(void) { void *entry; @@ -93,9 +87,6 @@ void main(void) configure_l2ctlr(); tsadc_init(); - /* Need to power cycle SD card to ensure it is properly reset. */ - sdmmc_power_off(); - /* vdd_log 1200mv is enough for ddr run 666Mhz */ regulate_vdd_log(1200); timestamp_add_now(TS_BEFORE_INITRAM);