From e8c160e6af6b930cb78ba6c7eeeec104972a8ef5 Mon Sep 17 00:00:00 2001 From: Dtrain Hsu Date: Thu, 10 Feb 2022 10:32:27 +0800 Subject: [PATCH] mb/google/brya: Create kinox variant Create the kinox 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:215049181 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_KINOX Signed-off-by: Dtrain Hsu Change-Id: I68cac421f6299a5f82f2ab51633173648c993060 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61789 Reviewed-by: Zhuohao Lee Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/Kconfig | 3 +++ src/mainboard/google/brya/Kconfig.name | 4 ++++ .../google/brya/variants/kinox/include/variant/ec.h | 8 ++++++++ .../google/brya/variants/kinox/include/variant/gpio.h | 8 ++++++++ src/mainboard/google/brya/variants/kinox/overridetree.cb | 6 ++++++ 5 files changed, 29 insertions(+) create mode 100644 src/mainboard/google/brya/variants/kinox/include/variant/ec.h create mode 100644 src/mainboard/google/brya/variants/kinox/include/variant/gpio.h create mode 100644 src/mainboard/google/brya/variants/kinox/overridetree.cb diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index a57ca74e99..f7bd715f5d 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -115,6 +115,7 @@ config DRIVER_TPM_I2C_BUS default 0x3 if BOARD_GOOGLE_AGAH default 0x1 if BOARD_GOOGLE_VOLMAR default 0x1 if BOARD_GOOGLE_BANSHEE + default 0x1 if BOARD_GOOGLE_KINOX config DRIVER_TPM_I2C_ADDR hex @@ -165,6 +166,7 @@ config MAINBOARD_PART_NUMBER default "Banshee" if BOARD_GOOGLE_BANSHEE default "Crota" if BOARD_GOOGLE_CROTA default "Moli" if BOARD_GOOGLE_MOLI + default "Kinox" if BOARD_GOOGLE_KINOX config VARIANT_DIR default "brya0" if BOARD_GOOGLE_BRYA0 @@ -191,6 +193,7 @@ config VARIANT_DIR default "banshee" if BOARD_GOOGLE_BANSHEE default "crota" if BOARD_GOOGLE_CROTA default "moli" if BOARD_GOOGLE_MOLI + default "kinox" if BOARD_GOOGLE_KINOX config VBOOT select VBOOT_EARLY_EC_SYNC diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index c645b9556d..c2f6190467 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -178,3 +178,7 @@ config BOARD_GOOGLE_CROTA config BOARD_GOOGLE_MOLI bool "-> Moli" select BOARD_GOOGLE_BASEBOARD_BRASK + +config BOARD_GOOGLE_KINOX + bool "-> Kinox" + select BOARD_GOOGLE_BASEBOARD_BRASK diff --git a/src/mainboard/google/brya/variants/kinox/include/variant/ec.h b/src/mainboard/google/brya/variants/kinox/include/variant/ec.h new file mode 100644 index 0000000000..7a2a6ff8b7 --- /dev/null +++ b/src/mainboard/google/brya/variants/kinox/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/kinox/include/variant/gpio.h b/src/mainboard/google/brya/variants/kinox/include/variant/gpio.h new file mode 100644 index 0000000000..c4fe342621 --- /dev/null +++ b/src/mainboard/google/brya/variants/kinox/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/kinox/overridetree.cb b/src/mainboard/google/brya/variants/kinox/overridetree.cb new file mode 100644 index 0000000000..4f2c04a57a --- /dev/null +++ b/src/mainboard/google/brya/variants/kinox/overridetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/alderlake + + device domain 0 on + end + +end