summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8186
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.com>2022-07-20 10:22:53 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-07-21 10:30:57 +0000
commitd5dafb2c0a6bac5c9d87f0e07e339570e0fd3267 (patch)
tree9a1efa4a808f6f9c97343c2cd32e2b073d2ea96e /src/soc/mediatek/mt8186
parent8ba3e34f18f041b231acfae10b6e4cc2533532da (diff)
mb/google: Replace some strings in regulator.c
From comments of CB:65875, we replace *_vol to *_voltage. s/mainboard_set_regulator_vol/mainboard_set_regulator_voltage/ s/mainboard_get_regulator_vol/mainboard_get_regulator_voltage/ TEST=build pass BUG=b:233720142 Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: Iadf0408e8914d6e32915464f93979978c4634eaf Reviewed-on: https://review.coreboot.org/c/coreboot/+/65994 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8186')
-rw-r--r--src/soc/mediatek/mt8186/msdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8186/msdc.c b/src/soc/mediatek/mt8186/msdc.c
index cfdb0f2cfb..1a316db34d 100644
--- a/src/soc/mediatek/mt8186/msdc.c
+++ b/src/soc/mediatek/mt8186/msdc.c
@@ -102,6 +102,6 @@ void mtk_msdc_configure_sdcard(void)
MSDC1_GPIO_MODE1_1, MSDC1_GPIO_MODE1_VALUE);
/* enable SDCard power */
- mainboard_set_regulator_vol(MTK_REGULATOR_VMCH, 3300000);
- mainboard_set_regulator_vol(MTK_REGULATOR_VMC, 3300000);
+ mainboard_set_regulator_voltage(MTK_REGULATOR_VMCH, 3300000);
+ mainboard_set_regulator_voltage(MTK_REGULATOR_VMC, 3300000);
}