mb/google/brya: Add new baseboard hades with variants hades
Add a new baseboard for hades, an Intel RPL based reference design.
Also, add variants for the reference boards hades. This commit is
a stub which only adds the minimum code needed for a successful build.
Need update gpio and memory DQ pins after final shchematic comes out.
BUG=b:269371363
TEST=abuild -a -x -c max -p none -t google/brya -b hades
Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Change-Id: Ib7fbdf997df8225cc7814a34f8b4e4e04884dbf9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73055
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 6eb34d7..b3e804c 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -62,6 +62,18 @@
select TPM_GOOGLE_CR50
select CR50_RESET_CLEAR_EC_AP_IDLE_FLAG
+config BOARD_GOOGLE_BASEBOARD_HADES
+ def_bool n
+ select BOARD_GOOGLE_BRYA_COMMON
+ select BOARD_ROMSIZE_KB_32768
+ select HAVE_SLP_S0_GATE
+ select MEMORY_SOLDERDOWN
+ select SOC_INTEL_ALDERLAKE_PCH_P
+ select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY
+ select SOC_INTEL_RAPTORLAKE
+ select SYSTEM_TYPE_LAPTOP
+ select TPM_GOOGLE_CR50
+
config BOARD_GOOGLE_BASEBOARD_NISSA
def_bool n
select BOARD_GOOGLE_BRYA_COMMON
@@ -95,6 +107,7 @@
string
default "brya" if BOARD_GOOGLE_BASEBOARD_BRYA
default "brask" if BOARD_GOOGLE_BASEBOARD_BRASK
+ default "hades" if BOARD_GOOGLE_BASEBOARD_HADES
default "nissa" if BOARD_GOOGLE_BASEBOARD_NISSA
default "skolas" if BOARD_GOOGLE_BASEBOARD_SKOLAS
@@ -157,6 +170,7 @@
default 0x1 if BOARD_GOOGLE_OMNIGUL
default 0x1 if BOARD_GOOGLE_CONSTITUTION
default 0x1 if BOARD_GOOGLE_AURASH
+ default 0x1 if BOARD_GOOGLE_HADES
config DRIVER_TPM_I2C_ADDR
hex
@@ -183,6 +197,7 @@
string
default "Google_Brya" if BOARD_GOOGLE_BASEBOARD_BRYA
default "Google_Brask" if BOARD_GOOGLE_BASEBOARD_BRASK
+ default "Google_Hades" if BOARD_GOOGLE_BASEBOARD_HADES
default "Google_Nissa" if BOARD_GOOGLE_BASEBOARD_NISSA
default "Google_Skolas" if BOARD_GOOGLE_BASEBOARD_SKOLAS
@@ -229,6 +244,7 @@
default "Omnigul" if BOARD_GOOGLE_OMNIGUL
default "Constitution" if BOARD_GOOGLE_CONSTITUTION
default "Aurash" if BOARD_GOOGLE_AURASH
+ default "Hades" if BOARD_GOOGLE_HADES
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@@ -273,6 +289,7 @@
default "omnigul" if BOARD_GOOGLE_OMNIGUL
default "constitution" if BOARD_GOOGLE_CONSTITUTION
default "aurash" if BOARD_GOOGLE_AURASH
+ default "hades" if BOARD_GOOGLE_HADES
config VBOOT
select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA