From 5b4a914fdf1124163374077e55c2e1be831cafbf Mon Sep 17 00:00:00 2001 From: Kevin Chiu Date: Tue, 27 Sep 2022 16:14:39 +0800 Subject: mb/google/brya: Create lisbon variant Create the lisbon 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:246657849 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_LISBON Signed-off-by: Kevin Chiu Change-Id: Ia31752765657054b28ea16b046b63c38a72f95bf Reviewed-on: https://review.coreboot.org/c/coreboot/+/67900 Tested-by: build bot (Jenkins) Reviewed-by: Zhuohao Lee --- src/mainboard/google/brya/Kconfig | 2 ++ src/mainboard/google/brya/Kconfig.name | 4 ++++ src/mainboard/google/brya/variants/lisbon/include/variant/ec.h | 8 ++++++++ src/mainboard/google/brya/variants/lisbon/include/variant/gpio.h | 8 ++++++++ src/mainboard/google/brya/variants/lisbon/overridetree.cb | 6 ++++++ 5 files changed, 28 insertions(+) create mode 100644 src/mainboard/google/brya/variants/lisbon/include/variant/ec.h create mode 100644 src/mainboard/google/brya/variants/lisbon/include/variant/gpio.h create mode 100644 src/mainboard/google/brya/variants/lisbon/overridetree.cb diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index 59340715cd..9e41cad0fa 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -210,6 +210,7 @@ config MAINBOARD_PART_NUMBER default "Xivu" if BOARD_GOOGLE_XIVU default "Gaelin4ADL" if BOARD_GOOGLE_GAELIN4ADL default "Yaviks" if BOARD_GOOGLE_YAVIKS + default "Lisbon" if BOARD_GOOGLE_LISBON config VARIANT_DIR default "brya0" if BOARD_GOOGLE_BRYA0 @@ -247,6 +248,7 @@ config VARIANT_DIR default "xivu" if BOARD_GOOGLE_XIVU default "gaelin" if BOARD_GOOGLE_GAELIN4ADL default "yaviks" if BOARD_GOOGLE_YAVIKS + default "lisbon" if BOARD_GOOGLE_LISBON 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 2d031da7b1..df94b2078d 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -267,3 +267,7 @@ config BOARD_GOOGLE_YAVIKS bool "-> Yaviks" select BOARD_GOOGLE_BASEBOARD_NISSA select DRIVERS_GENESYSLOGIC_GL9750 + +config BOARD_GOOGLE_LISBON + bool "-> Lisbon" + select BOARD_GOOGLE_BASEBOARD_BRASK diff --git a/src/mainboard/google/brya/variants/lisbon/include/variant/ec.h b/src/mainboard/google/brya/variants/lisbon/include/variant/ec.h new file mode 100644 index 0000000000..7a2a6ff8b7 --- /dev/null +++ b/src/mainboard/google/brya/variants/lisbon/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/lisbon/include/variant/gpio.h b/src/mainboard/google/brya/variants/lisbon/include/variant/gpio.h new file mode 100644 index 0000000000..c4fe342621 --- /dev/null +++ b/src/mainboard/google/brya/variants/lisbon/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/lisbon/overridetree.cb b/src/mainboard/google/brya/variants/lisbon/overridetree.cb new file mode 100644 index 0000000000..4f2c04a57a --- /dev/null +++ b/src/mainboard/google/brya/variants/lisbon/overridetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/alderlake + + device domain 0 on + end + +end -- cgit v1.2.3