From 52163149b404cbeb1cd5e60a5c2da061b964908c Mon Sep 17 00:00:00 2001 From: Kevin Chiu Date: Wed, 19 Oct 2022 20:14:06 +0800 Subject: [PATCH] mb/google/brya: Create gladios ADL variant Create the gladios 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:239513596 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_gladios Signed-off-by: Kevin Chiu Change-Id: I3dc99d97d8e30d9641f56616222dd68e3a0d548d Reviewed-on: https://review.coreboot.org/c/coreboot/+/68569 Tested-by: build bot (Jenkins) Reviewed-by: Nick Vaccaro Reviewed-by: Zhuohao Lee Reviewed-by: Angel Pons --- src/mainboard/google/brya/Kconfig | 2 ++ src/mainboard/google/brya/Kconfig.name | 4 ++++ .../google/brya/variants/gladios/include/variant/ec.h | 8 ++++++++ .../google/brya/variants/gladios/include/variant/gpio.h | 8 ++++++++ .../google/brya/variants/gladios/overridetree.cb | 6 ++++++ 5 files changed, 28 insertions(+) create mode 100644 src/mainboard/google/brya/variants/gladios/include/variant/ec.h create mode 100644 src/mainboard/google/brya/variants/gladios/include/variant/gpio.h create mode 100644 src/mainboard/google/brya/variants/gladios/overridetree.cb diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index b86005a532..577c2cae72 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -213,6 +213,7 @@ config MAINBOARD_PART_NUMBER default "Yaviks" if BOARD_GOOGLE_YAVIKS default "Lisbon" if BOARD_GOOGLE_LISBON default "Zydron" if BOARD_GOOGLE_ZYDRON + default "Gladios" if BOARD_GOOGLE_GLADIOS config VARIANT_DIR default "brya0" if BOARD_GOOGLE_BRYA0 @@ -252,6 +253,7 @@ config VARIANT_DIR default "yaviks" if BOARD_GOOGLE_YAVIKS default "lisbon" if BOARD_GOOGLE_LISBON default "zydron" if BOARD_GOOGLE_ZYDRON + default "gladios" if BOARD_GOOGLE_GLADIOS 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 3c98dca678..9992eea17d 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -281,3 +281,7 @@ config BOARD_GOOGLE_ZYDRON select DRIVERS_I2C_NAU8825 select DRIVERS_INTEL_MIPI_CAMERA select SOC_INTEL_COMMON_BLOCK_IPU + +config BOARD_GOOGLE_GLADIOS + bool "-> Gladios" + select BOARD_GOOGLE_BASEBOARD_BRASK diff --git a/src/mainboard/google/brya/variants/gladios/include/variant/ec.h b/src/mainboard/google/brya/variants/gladios/include/variant/ec.h new file mode 100644 index 0000000000..7a2a6ff8b7 --- /dev/null +++ b/src/mainboard/google/brya/variants/gladios/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/gladios/include/variant/gpio.h b/src/mainboard/google/brya/variants/gladios/include/variant/gpio.h new file mode 100644 index 0000000000..c4fe342621 --- /dev/null +++ b/src/mainboard/google/brya/variants/gladios/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/gladios/overridetree.cb b/src/mainboard/google/brya/variants/gladios/overridetree.cb new file mode 100644 index 0000000000..4f2c04a57a --- /dev/null +++ b/src/mainboard/google/brya/variants/gladios/overridetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/alderlake + + device domain 0 on + end + +end