From ca07e1cff98070dcc845692ca576273f41b482fd Mon Sep 17 00:00:00 2001 From: Chao Gui Date: Sat, 31 Dec 2022 07:01:14 -0800 Subject: mb/google/skyrim: Create markarth variant Create the markarth variant of the skyrim 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:262092858 BRANCH=None TEST=util/abuild/abuild -p none -t google/skyrim -x -a make sure the build includes GOOGLE_MARKARTH Change-Id: Ifbace841ca56d8659aaffdc31fb2bc4367d96f82 Signed-off-by: Chao Gui Reviewed-on: https://review.coreboot.org/c/coreboot/+/71610 Tested-by: build bot (Jenkins) Reviewed-by: Dtrain Hsu --- src/mainboard/google/skyrim/Kconfig | 2 ++ src/mainboard/google/skyrim/Kconfig.name | 4 ++++ src/mainboard/google/skyrim/variants/markarth/include/variant/ec.h | 3 +++ src/mainboard/google/skyrim/variants/markarth/overridetree.cb | 5 +++++ 4 files changed, 14 insertions(+) create mode 100644 src/mainboard/google/skyrim/variants/markarth/include/variant/ec.h create mode 100644 src/mainboard/google/skyrim/variants/markarth/overridetree.cb (limited to 'src/mainboard') diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig index 5eee2d617a..493ecb5941 100644 --- a/src/mainboard/google/skyrim/Kconfig +++ b/src/mainboard/google/skyrim/Kconfig @@ -91,6 +91,7 @@ config MAINBOARD_PART_NUMBER default "Morthal" if BOARD_GOOGLE_MORTHAL default "Frostflow" if BOARD_GOOGLE_FROSTFLOW default "Crystaldrift" if BOARD_GOOGLE_CRYSTALDRIFT + default "Markarth" if BOARD_GOOGLE_MARKARTH config OVERRIDE_DEVICETREE string @@ -103,6 +104,7 @@ config VARIANT_DIR default "morthal" if BOARD_GOOGLE_MORTHAL default "frostflow" if BOARD_GOOGLE_FROSTFLOW default "crystaldrift" if BOARD_GOOGLE_CRYSTALDRIFT + default "markarth" if BOARD_GOOGLE_MARKARTH config VBOOT select EC_GOOGLE_CHROMEEC_SWITCHES diff --git a/src/mainboard/google/skyrim/Kconfig.name b/src/mainboard/google/skyrim/Kconfig.name index 23aea4812c..e7c6505c6c 100644 --- a/src/mainboard/google/skyrim/Kconfig.name +++ b/src/mainboard/google/skyrim/Kconfig.name @@ -26,3 +26,7 @@ config BOARD_GOOGLE_FROSTFLOW config BOARD_GOOGLE_CRYSTALDRIFT bool "-> Crystaldrift" select BOARD_GOOGLE_BASEBOARD_SKYRIM + +config BOARD_GOOGLE_MARKARTH + bool "-> Markarth" + select BOARD_GOOGLE_BASEBOARD_SKYRIM diff --git a/src/mainboard/google/skyrim/variants/markarth/include/variant/ec.h b/src/mainboard/google/skyrim/variants/markarth/include/variant/ec.h new file mode 100644 index 0000000000..9e61a440cf --- /dev/null +++ b/src/mainboard/google/skyrim/variants/markarth/include/variant/ec.h @@ -0,0 +1,3 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include diff --git a/src/mainboard/google/skyrim/variants/markarth/overridetree.cb b/src/mainboard/google/skyrim/variants/markarth/overridetree.cb new file mode 100644 index 0000000000..7a56f93759 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/markarth/overridetree.cb @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +chip soc/amd/mendocino + device domain 0 on end +end # chip soc/amd/mendocino -- cgit v1.2.3