From 47318c923ef50aa03a05271d5864bc1f03c3f300 Mon Sep 17 00:00:00 2001 From: Raihow Shi Date: Wed, 9 Feb 2022 19:42:12 +0800 Subject: [PATCH] mb/google/brya: Create moli variant Create the moli 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:214439135 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_MOLI Signed-off-by: Raihow Shi Change-Id: I3f3bfd3db12cba8b73b351e7c700b6a58797c906 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61766 Tested-by: build bot (Jenkins) Reviewed-by: Zhuohao Lee --- src/mainboard/google/brya/Kconfig | 2 ++ src/mainboard/google/brya/Kconfig.name | 4 ++++ .../google/brya/variants/moli/include/variant/ec.h | 8 ++++++++ .../google/brya/variants/moli/include/variant/gpio.h | 8 ++++++++ src/mainboard/google/brya/variants/moli/overridetree.cb | 6 ++++++ 5 files changed, 28 insertions(+) create mode 100644 src/mainboard/google/brya/variants/moli/include/variant/ec.h create mode 100644 src/mainboard/google/brya/variants/moli/include/variant/gpio.h create mode 100644 src/mainboard/google/brya/variants/moli/overridetree.cb diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index b398386d6d..86c546d95b 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -160,6 +160,7 @@ config MAINBOARD_PART_NUMBER default "Volmar" if BOARD_GOOGLE_VOLMAR default "Banshee" if BOARD_GOOGLE_BANSHEE default "Crota" if BOARD_GOOGLE_CROTA + default "Moli" if BOARD_GOOGLE_MOLI config VARIANT_DIR default "brya0" if BOARD_GOOGLE_BRYA0 @@ -185,6 +186,7 @@ config VARIANT_DIR default "volmar" if BOARD_GOOGLE_VOLMAR default "banshee" if BOARD_GOOGLE_BANSHEE default "crota" if BOARD_GOOGLE_CROTA + default "moli" if BOARD_GOOGLE_MOLI config VBOOT select VBOOT_EARLY_EC_SYNC diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index 769b402186..e170b46f41 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -164,3 +164,7 @@ config BOARD_GOOGLE_BANSHEE config BOARD_GOOGLE_CROTA bool "-> Crota" select BOARD_GOOGLE_BASEBOARD_BRYA + +config BOARD_GOOGLE_MOLI + bool "-> Moli" + select BOARD_GOOGLE_BASEBOARD_BRASK diff --git a/src/mainboard/google/brya/variants/moli/include/variant/ec.h b/src/mainboard/google/brya/variants/moli/include/variant/ec.h new file mode 100644 index 0000000000..7a2a6ff8b7 --- /dev/null +++ b/src/mainboard/google/brya/variants/moli/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/moli/include/variant/gpio.h b/src/mainboard/google/brya/variants/moli/include/variant/gpio.h new file mode 100644 index 0000000000..c4fe342621 --- /dev/null +++ b/src/mainboard/google/brya/variants/moli/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/moli/overridetree.cb b/src/mainboard/google/brya/variants/moli/overridetree.cb new file mode 100644 index 0000000000..4f2c04a57a --- /dev/null +++ b/src/mainboard/google/brya/variants/moli/overridetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/alderlake + + device domain 0 on + end + +end