From e6411c0a550801892d9f0b1401599c76cea5db16 Mon Sep 17 00:00:00 2001 From: Ruihai Zhou Date: Fri, 3 Nov 2023 13:08:30 +0800 Subject: [PATCH] mb/google/geralt: Create variant Ciri Create the variant Ciri and enable MAX98390 AMP for it. The panel related support will be added in the follow up CLs. BUG=b:308968270 TEST=emerge-geralt coreboot BRANCH=None Change-Id: I7bbe9ed5e722a70bab1c799a61ce38d2ad58ab25 Signed-off-by: Ruihai Zhou Reviewed-on: https://review.coreboot.org/c/coreboot/+/78954 Reviewed-by: Yidi Lin Reviewed-by: cong yang Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/mainboard/google/geralt/Kconfig | 6 +++++- src/mainboard/google/geralt/Kconfig.name | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/geralt/Kconfig b/src/mainboard/google/geralt/Kconfig index 681714309e..ad3491f7b2 100644 --- a/src/mainboard/google/geralt/Kconfig +++ b/src/mainboard/google/geralt/Kconfig @@ -7,6 +7,9 @@ config BOARD_GOOGLE_GERALT_COMMON config BOARD_GOOGLE_GERALT select BOARD_GOOGLE_GERALT_COMMON +config BOARD_GOOGLE_CIRI + select BOARD_GOOGLE_GERALT_COMMON + if BOARD_GOOGLE_GERALT_COMMON config VBOOT @@ -45,6 +48,7 @@ config MAINBOARD_DIR config MAINBOARD_PART_NUMBER string default "Geralt" if BOARD_GOOGLE_GERALT + default "Ciri" if BOARD_GOOGLE_CIRI config BOOT_DEVICE_SPI_FLASH_BUS int @@ -68,7 +72,7 @@ config SDCARD_INIT choice prompt "Speaker AMP for Geralt" - default USE_MAX98390 if BOARD_GOOGLE_GERALT + default USE_MAX98390 if BOARD_GOOGLE_GERALT || BOARD_GOOGLE_CIRI config USE_MAX98390 bool "MAX98390" diff --git a/src/mainboard/google/geralt/Kconfig.name b/src/mainboard/google/geralt/Kconfig.name index e699ac2467..631a884694 100644 --- a/src/mainboard/google/geralt/Kconfig.name +++ b/src/mainboard/google/geralt/Kconfig.name @@ -2,3 +2,6 @@ comment "Geralt" config BOARD_GOOGLE_GERALT bool "-> Geralt" + +config BOARD_GOOGLE_CIRI + bool "-> Ciri"