From 0712851ca313e0b8ae70d06d7792e97c8e0c5c3b Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Tue, 14 Nov 2023 16:23:06 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79063 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Yidi Lin --- src/mainboard/google/geralt/chromeos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard/google/geralt/chromeos.c') diff --git a/src/mainboard/google/geralt/chromeos.c b/src/mainboard/google/geralt/chromeos.c index 1144701ea301..d66b7d5233b7 100644 --- a/src/mainboard/google/geralt/chromeos.c +++ b/src/mainboard/google/geralt/chromeos.c @@ -46,19 +46,19 @@ void fill_lb_gpios(struct lb_gpios *gpios) fill_lp_backlight_gpios(gpios); - if (CONFIG(SDCARD_INIT)) { + if (CONFIG(GERALT_SDCARD_INIT)) { struct lb_gpio sd_card_gpios[] = { {GPIO_SD_CD_ODL.id, ACTIVE_LOW, -1, "SD card detect"}, }; lb_add_gpios(gpios, sd_card_gpios, ARRAY_SIZE(sd_card_gpios)); } - if (CONFIG(USE_MAX98390)) { + if (CONFIG(GERALT_USE_MAX98390)) { struct lb_gpio max98390_gpios[] = { {GPIO_RST_SPKR_L.id, ACTIVE_LOW, -1, "speaker reset"}, }; lb_add_gpios(gpios, max98390_gpios, ARRAY_SIZE(max98390_gpios)); - } else if (CONFIG(USE_NAU8318)) { + } else if (CONFIG(GERALT_USE_NAU8318)) { struct lb_gpio nau8318_gpios[] = { {GPIO_EN_SPKR.id, ACTIVE_HIGH, -1, "speaker enable"}, {GPIO_BEEP_ON_OD.id, ACTIVE_HIGH, -1, "beep enable"}, -- cgit v1.2.3