From b844e6d434eda26a71db682496dd1c1132ab007e Mon Sep 17 00:00:00 2001 From: David Wu Date: Sat, 21 May 2022 17:02:10 +0800 Subject: [PATCH] mb/google/brya: Create kuldax variant Create the kuldax variant of the brask reference board by copying the template files to a new directory named for the variant. (Auto-Generated by create_coreboot_variant.sh version 4.5.0). BUG=b:233380254 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_KULDAX Signed-off-by: David Wu Change-Id: I95c04768bbed8657d2858bcd66fc041f56910b8a Reviewed-on: https://review.coreboot.org/c/coreboot/+/64559 Tested-by: build bot (Jenkins) Reviewed-by: Zhuohao Lee --- src/mainboard/google/brya/Kconfig | 3 +++ src/mainboard/google/brya/Kconfig.name | 4 ++++ .../google/brya/variants/kuldax/include/variant/ec.h | 8 ++++++++ .../google/brya/variants/kuldax/include/variant/gpio.h | 8 ++++++++ src/mainboard/google/brya/variants/kuldax/overridetree.cb | 6 ++++++ 5 files changed, 29 insertions(+) create mode 100644 src/mainboard/google/brya/variants/kuldax/include/variant/ec.h create mode 100644 src/mainboard/google/brya/variants/kuldax/include/variant/gpio.h create mode 100644 src/mainboard/google/brya/variants/kuldax/overridetree.cb diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index 67995b5d77..51b2a2db99 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -123,6 +123,7 @@ config DRIVER_TPM_I2C_BUS default 0x1 if BOARD_GOOGLE_MOLI default 0x1 if BOARD_GOOGLE_OSIRIS default 0x1 if BOARD_GOOGLE_MITHRAX + default 0x1 if BOARD_GOOGLE_KULDAX config DRIVER_TPM_I2C_ADDR hex @@ -178,6 +179,7 @@ config MAINBOARD_PART_NUMBER default "Craask" if BOARD_GOOGLE_CRAASK default "Osiris" if BOARD_GOOGLE_OSIRIS default "Mithrax" if BOARD_GOOGLE_MITHRAX + default "Kuldax" if BOARD_GOOGLE_KULDAX config VARIANT_DIR default "brya0" if BOARD_GOOGLE_BRYA0 @@ -208,6 +210,7 @@ config VARIANT_DIR default "craask" if BOARD_GOOGLE_CRAASK default "osiris" if BOARD_GOOGLE_OSIRIS default "mithrax" if BOARD_GOOGLE_MITHRAX + default "kuldax" if BOARD_GOOGLE_KULDAX config VBOOT select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index 856140810d..e2a917c337 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -221,3 +221,7 @@ config BOARD_GOOGLE_MITHRAX select BOARD_GOOGLE_BASEBOARD_BRYA select DRIVERS_GENERIC_GPIO_KEYS select DRIVERS_GENESYSLOGIC_GL9755 + +config BOARD_GOOGLE_KULDAX + bool "-> Kuldax" + select BOARD_GOOGLE_BASEBOARD_BRASK diff --git a/src/mainboard/google/brya/variants/kuldax/include/variant/ec.h b/src/mainboard/google/brya/variants/kuldax/include/variant/ec.h new file mode 100644 index 0000000000..7a2a6ff8b7 --- /dev/null +++ b/src/mainboard/google/brya/variants/kuldax/include/variant/ec.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef __VARIANT_EC_H__ +#define __VARIANT_EC_H__ + +#include + +#endif diff --git a/src/mainboard/google/brya/variants/kuldax/include/variant/gpio.h b/src/mainboard/google/brya/variants/kuldax/include/variant/gpio.h new file mode 100644 index 0000000000..c4fe342621 --- /dev/null +++ b/src/mainboard/google/brya/variants/kuldax/include/variant/gpio.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef VARIANT_GPIO_H +#define VARIANT_GPIO_H + +#include + +#endif diff --git a/src/mainboard/google/brya/variants/kuldax/overridetree.cb b/src/mainboard/google/brya/variants/kuldax/overridetree.cb new file mode 100644 index 0000000000..4f2c04a57a --- /dev/null +++ b/src/mainboard/google/brya/variants/kuldax/overridetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/alderlake + + device domain 0 on + end + +end