summaryrefslogtreecommitdiff
path: root/src/mainboard/google/geralt/mainboard.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2023-11-14 16:23:06 -0800
committerJulius Werner <jwerner@chromium.org>2023-11-22 01:50:24 +0000
commit0712851ca313e0b8ae70d06d7792e97c8e0c5c3b (patch)
tree227f277bd19783c209d0c2f272029b91064c33ba /src/mainboard/google/geralt/mainboard.c
parent53b79bef610d00c500d2acec7da6eb02e809fcf6 (diff)
google/*: Clean up Kconfg board selection for Google MTK boards
This patch tries to standardize and simplify the Kconfig option layout for Google boards with MediaTek SoCs and align them to the scheme used with other Arm-based Google boards. Change-Id: I40880e7609ba703d0053ad01da742871e54d4e7a Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79063 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
Diffstat (limited to 'src/mainboard/google/geralt/mainboard.c')
-rw-r--r--src/mainboard/google/geralt/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/geralt/mainboard.c b/src/mainboard/google/geralt/mainboard.c
index 4042dcefef..6bb8380a64 100644
--- a/src/mainboard/google/geralt/mainboard.c
+++ b/src/mainboard/google/geralt/mainboard.c
@@ -31,7 +31,7 @@ static void configure_i2s(void)
static void configure_audio(void)
{
- if (CONFIG(USE_MAX98390)) {
+ if (CONFIG(GERALT_USE_MAX98390)) {
printk(BIOS_DEBUG, "Configure MAX98390 audio\n");
mtk_i2c_bus_init(I2C0, I2C_SPEED_FAST);
@@ -54,7 +54,7 @@ static void mainboard_init(struct device *dev)
configure_audio();
- if (CONFIG(SDCARD_INIT))
+ if (CONFIG(GERALT_SDCARD_INIT))
mtk_msdc_configure_sdcard();
setup_usb_host();