diff options
author | Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> | 2022-02-10 10:32:27 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-15 16:20:34 +0000 |
commit | e8c160e6af6b930cb78ba6c7eeeec104972a8ef5 (patch) | |
tree | 1415b4aa9042f930dcd94e0b86f8c91a2135dc36 | |
parent | 92d449902e309b960c539e2f147b157980d50b3a (diff) |
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 <dtrain_hsu@compal.corp-partner.google.com>
Change-Id: I68cac421f6299a5f82f2ab51633173648c993060
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61789
Reviewed-by: Zhuohao Lee <zhuohao@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
5 files changed, 29 insertions, 0 deletions
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 <baseboard/ec.h> + +#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 <baseboard/gpio.h> + +#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 |