From 9df32cc20601abae07247f921c70e8e4934b0e77 Mon Sep 17 00:00:00 2001 From: Zoey Wu Date: Mon, 6 Feb 2023 17:13:01 +0800 Subject: [PATCH] mb/google/brya: Create aurash variant Create the aurash 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:263691099 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_AURASH Change-Id: I595102778071f822c5cf69ceadeed174e5ea4836 Signed-off-by: Zoey Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/72837 Reviewed-by: Eric Lai Reviewed-by: Scott Chao Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/Kconfig | 2 ++ src/mainboard/google/brya/Kconfig.name | 4 ++++ .../google/brya/variants/aurash/include/variant/ec.h | 8 ++++++++ .../google/brya/variants/aurash/include/variant/gpio.h | 8 ++++++++ src/mainboard/google/brya/variants/aurash/overridetree.cb | 6 ++++++ 5 files changed, 28 insertions(+) create mode 100644 src/mainboard/google/brya/variants/aurash/include/variant/ec.h create mode 100644 src/mainboard/google/brya/variants/aurash/include/variant/gpio.h create mode 100644 src/mainboard/google/brya/variants/aurash/overridetree.cb diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index c947ce8c3b..edebbb30c2 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -227,6 +227,7 @@ config MAINBOARD_PART_NUMBER default "Marasov" if BOARD_GOOGLE_MARASOV default "Omnigul" if BOARD_GOOGLE_OMNIGUL default "Constitution" if BOARD_GOOGLE_CONSTITUTION + default "Aurash" if BOARD_GOOGLE_AURASH config VARIANT_DIR default "brya0" if BOARD_GOOGLE_BRYA0 @@ -270,6 +271,7 @@ config VARIANT_DIR default "marasov" if BOARD_GOOGLE_MARASOV default "omnigul" if BOARD_GOOGLE_OMNIGUL default "constitution" if BOARD_GOOGLE_CONSTITUTION + default "aurash" if BOARD_GOOGLE_AURASH 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 4b997086d7..e840e79271 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -336,3 +336,7 @@ config BOARD_GOOGLE_OMNIGUL config BOARD_GOOGLE_CONSTITUTION bool "-> Constitution" select BOARD_GOOGLE_BASEBOARD_BRASK + +config BOARD_GOOGLE_AURASH + bool "-> Aurash" + select BOARD_GOOGLE_BASEBOARD_BRASK diff --git a/src/mainboard/google/brya/variants/aurash/include/variant/ec.h b/src/mainboard/google/brya/variants/aurash/include/variant/ec.h new file mode 100644 index 0000000000..7a2a6ff8b7 --- /dev/null +++ b/src/mainboard/google/brya/variants/aurash/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/aurash/include/variant/gpio.h b/src/mainboard/google/brya/variants/aurash/include/variant/gpio.h new file mode 100644 index 0000000000..c4fe342621 --- /dev/null +++ b/src/mainboard/google/brya/variants/aurash/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/aurash/overridetree.cb b/src/mainboard/google/brya/variants/aurash/overridetree.cb new file mode 100644 index 0000000000..4f2c04a57a --- /dev/null +++ b/src/mainboard/google/brya/variants/aurash/overridetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/alderlake + + device domain 0 on + end + +end