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 <dhendrix@chromium.org>
Change-Id: I846ef9d67a780cc07414d545524b9ec0b8490cf1
Reviewed-on: https://chromium-review.googlesource.com/241734
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/242160
Tested-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Julius Werner <jwerner@chromium.org>
This commit is contained in:
David Hendricks 2015-01-16 17:42:08 -08:00 committed by ChromeOS Commit Bot
commit 82055feb30

View file

@ -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);