mb/google/cherry: add configuration for dojo
BUG=b:211528578
TEST=emerge-cherry coreboot
Signed-off-by: Kevin Chiu <kevin.chiu.17802@gmail.com>
Change-Id: I3bd9803b4e47882df9fe351229478e4cb1630363
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60313
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
diff --git a/src/mainboard/google/cherry/Kconfig b/src/mainboard/google/cherry/Kconfig
index 7157267..e45b259 100644
--- a/src/mainboard/google/cherry/Kconfig
+++ b/src/mainboard/google/cherry/Kconfig
@@ -36,6 +36,7 @@
config MAINBOARD_PART_NUMBER
default "Cherry" if BOARD_GOOGLE_CHERRY
+ default "Dojo" if BOARD_GOOGLE_DOJO
default "Tomato" if BOARD_GOOGLE_TOMATO
config DRIVER_TPM_I2C_BUS
@@ -62,6 +63,5 @@
config CHERRY_USE_RT1019
bool
- default y if BOARD_GOOGLE_CHERRY || BOARD_GOOGLE_TOMATO
- default n
+ default y
endif
diff --git a/src/mainboard/google/cherry/Kconfig.name b/src/mainboard/google/cherry/Kconfig.name
index 7a65ada..9c58e51 100644
--- a/src/mainboard/google/cherry/Kconfig.name
+++ b/src/mainboard/google/cherry/Kconfig.name
@@ -4,6 +4,10 @@
bool "-> Cherry"
select BOARD_GOOGLE_CHERRY_COMMON
+config BOARD_GOOGLE_DOJO
+ bool "-> Dojo"
+ select BOARD_GOOGLE_CHERRY_COMMON
+
config BOARD_GOOGLE_TOMATO
bool "-> Tomato"
select BOARD_GOOGLE_CHERRY_COMMON