From deb54cc0b26815a6e4d9c00d2ce91a71fb382b7d Mon Sep 17 00:00:00 2001 From: Shon Wang Date: Mon, 11 Mar 2024 14:51:08 +0800 Subject: mb/google/brya: Create bujia variant Create the bujia 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:327549688 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_BUJIA Change-Id: I453a50f1aa64f8d4119bf0f860d928aa3e00a144 Signed-off-by: Shon Wang Reviewed-on: https://review.coreboot.org/c/coreboot/+/81198 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Kevin Chiu --- src/mainboard/google/brya/Kconfig | 7 +++++++ src/mainboard/google/brya/Kconfig.name | 3 +++ src/mainboard/google/brya/variants/bujia/include/variant/ec.h | 8 ++++++++ src/mainboard/google/brya/variants/bujia/include/variant/gpio.h | 8 ++++++++ src/mainboard/google/brya/variants/bujia/overridetree.cb | 6 ++++++ 5 files changed, 32 insertions(+) create mode 100644 src/mainboard/google/brya/variants/bujia/include/variant/ec.h create mode 100644 src/mainboard/google/brya/variants/bujia/include/variant/gpio.h create mode 100644 src/mainboard/google/brya/variants/bujia/overridetree.cb (limited to 'src/mainboard/google/brya') diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index 060220724f..e269b9a976 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -164,6 +164,10 @@ config BOARD_GOOGLE_BRYA0 select SOC_INTEL_RAPTORLAKE select DRIVERS_GENERIC_NAU8315 +config BOARD_GOOGLE_BUJIA + select BOARD_GOOGLE_BASEBOARD_BRASK + select SOC_INTEL_RAPTORLAKE + config BOARD_GOOGLE_CRAASK select BOARD_GOOGLE_BASEBOARD_NISSA select CHROMEOS_WIFI_SAR if CHROMEOS @@ -604,6 +608,7 @@ config DRIVER_TPM_I2C_BUS default 0x1 if BOARD_GOOGLE_XOL default 0x0 if BOARD_GOOGLE_GLASSWAY default 0x1 if BOARD_GOOGLE_NOVA + default 0x1 if BOARD_GOOGLE_BUJIA config DRIVER_TPM_I2C_ADDR hex @@ -689,6 +694,7 @@ config MAINBOARD_PART_NUMBER default "Xol" if BOARD_GOOGLE_XOL default "Glassway" if BOARD_GOOGLE_GLASSWAY default "Nova" if BOARD_GOOGLE_NOVA + default "Bujia" if BOARD_GOOGLE_BUJIA config VARIANT_DIR default "brya0" if BOARD_GOOGLE_BRYA0 @@ -745,6 +751,7 @@ config VARIANT_DIR default "xol" if BOARD_GOOGLE_XOL default "glassway" if BOARD_GOOGLE_GLASSWAY default "nova" if BOARD_GOOGLE_NOVA + default "bujia" if BOARD_GOOGLE_BUJIA 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 c126558909..e0e752cb8b 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -163,3 +163,6 @@ config BOARD_GOOGLE_XOL config BOARD_GOOGLE_NOVA bool "-> Nova" + +config BOARD_GOOGLE_BUJIA + bool "-> Bujia" diff --git a/src/mainboard/google/brya/variants/bujia/include/variant/ec.h b/src/mainboard/google/brya/variants/bujia/include/variant/ec.h new file mode 100644 index 0000000000..7a2a6ff8b7 --- /dev/null +++ b/src/mainboard/google/brya/variants/bujia/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/bujia/include/variant/gpio.h b/src/mainboard/google/brya/variants/bujia/include/variant/gpio.h new file mode 100644 index 0000000000..c4fe342621 --- /dev/null +++ b/src/mainboard/google/brya/variants/bujia/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/bujia/overridetree.cb b/src/mainboard/google/brya/variants/bujia/overridetree.cb new file mode 100644 index 0000000000..4f2c04a57a --- /dev/null +++ b/src/mainboard/google/brya/variants/bujia/overridetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/alderlake + + device domain 0 on + end + +end -- cgit v1.2.3