summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.com>2021-07-13 18:55:58 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-07-21 15:51:17 +0000
commitfdde4cd15304c99d40f14fad3bdc7d215e92068d (patch)
treeefa037200efc7d0bfb44d4bb7f1cbc74cac9d61d /src
parent3ba59dc891b4618c50ba398c8395b575315b1442 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/cherry/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/cherry/mainboard.c b/src/mainboard/google/cherry/mainboard.c
index 76aa59b5bb..9cd0324d49 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 */