mb/google/cherry: initialize SD card reader using regulator interface

TEST=boot kernel from sd card pass on Cherry board.

Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Change-Id: Ic20a2f3f053130ded202cf5ec861450f0f18eed0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56437
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Rex-BC Chen 2021-07-13 18:55:58 +08:00 committed by Felix Held
parent 3ba59dc891
commit fdde4cd153
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ static void configure_sdcard(void)
mtk_i2c_bus_init(7);
mt6360_init(7);
mt6360_enable(MT6360_LDO3, 1);
mt6360_enable(MT6360_LDO5, 1);
mainboard_enable_regulator(MTK_REGULATOR_VCCQ, 1);
mainboard_enable_regulator(MTK_REGULATOR_VCC, 1);
}
/* Set up backlight control pins as output pin and power-off by default */