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 <zhouruihai@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78954
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: cong yang <yangcong5@huaqin.corp-partner.google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
diff --git a/src/mainboard/google/geralt/Kconfig b/src/mainboard/google/geralt/Kconfig
index 6817143..ad3491f 100644
--- a/src/mainboard/google/geralt/Kconfig
+++ b/src/mainboard/google/geralt/Kconfig
@@ -7,6 +7,9 @@
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_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 @@
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 e699ac2..631a884 100644
--- a/src/mainboard/google/geralt/Kconfig.name
+++ b/src/mainboard/google/geralt/Kconfig.name
@@ -2,3 +2,6 @@
config BOARD_GOOGLE_GERALT
bool "-> Geralt"
+
+config BOARD_GOOGLE_CIRI
+ bool "-> Ciri"