diff options
author | Shon Wang <shon.wang@quanta.corp-partner.google.com> | 2024-03-11 14:51:08 +0800 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-03-17 16:43:01 +0000 |
commit | deb54cc0b26815a6e4d9c00d2ce91a71fb382b7d (patch) | |
tree | f861114396695b45fbcbc72d36d2225766c48cef | |
parent | 58d3090a9737aab470d94482df590193f7221ed7 (diff) |
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 <shon.wang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81198
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kevin Chiu <kevin.chiu.17802@gmail.com>
5 files changed, 32 insertions, 0 deletions
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 <baseboard/ec.h> + +#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 <baseboard/gpio.h> + +#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 |