From fdde4cd15304c99d40f14fad3bdc7d215e92068d Mon Sep 17 00:00:00 2001 From: Rex-BC Chen Date: Tue, 13 Jul 2021 18:55:58 +0800 Subject: 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 Change-Id: Ic20a2f3f053130ded202cf5ec861450f0f18eed0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56437 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/mainboard/google/cherry/mainboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/cherry/mainboard.c b/src/mainboard/google/cherry/mainboard.c index 76aa59b5bb4f..9cd0324d4928 100644 --- a/src/mainboard/google/cherry/mainboard.c +++ b/src/mainboard/google/cherry/mainboard.c @@ -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 */ -- cgit v1.2.3