From bcfd75796104b5fede09954fd5774d285fb4b6e4 Mon Sep 17 00:00:00 2001 From: Moises Date: Mon, 22 Aug 2022 14:40:47 -0700 Subject: [PATCH] mb/google/skyrim: Create morthal variant Create the morthal 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:240970782 BRANCH=None TEST=util/abuild/abuild -p none -t google/skyrim -x -a make sure the build includes GOOGLE_MORTHAL Signed-off-by: Moises Change-Id: I25c25f067a040e6930f4fc60fadb8be85dc8eda6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66989 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel Reviewed-by: Karthik Ramasubramanian Reviewed-by: Jon Murphy --- src/mainboard/google/skyrim/Kconfig | 2 ++ src/mainboard/google/skyrim/Kconfig.name | 4 ++++ .../google/skyrim/variants/morthal/include/variant/ec.h | 3 +++ src/mainboard/google/skyrim/variants/morthal/overridetree.cb | 5 +++++ 4 files changed, 14 insertions(+) create mode 100644 src/mainboard/google/skyrim/variants/morthal/include/variant/ec.h create mode 100644 src/mainboard/google/skyrim/variants/morthal/overridetree.cb diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig index ea485891fc..03c9dfa3ce 100644 --- a/src/mainboard/google/skyrim/Kconfig +++ b/src/mainboard/google/skyrim/Kconfig @@ -66,6 +66,7 @@ config MAINBOARD_FAMILY config MAINBOARD_PART_NUMBER default "Skyrim" if BOARD_GOOGLE_SKYRIM default "Winterhold" if BOARD_GOOGLE_WINTERHOLD + default "Morthal" if BOARD_GOOGLE_MORTHAL config OVERRIDE_DEVICETREE string @@ -75,6 +76,7 @@ config VARIANT_DIR string default "skyrim" if BOARD_GOOGLE_SKYRIM default "winterhold" if BOARD_GOOGLE_WINTERHOLD + default "morthal" if BOARD_GOOGLE_MORTHAL config VBOOT select VBOOT_LID_SWITCH diff --git a/src/mainboard/google/skyrim/Kconfig.name b/src/mainboard/google/skyrim/Kconfig.name index 1587058da8..2091776a76 100644 --- a/src/mainboard/google/skyrim/Kconfig.name +++ b/src/mainboard/google/skyrim/Kconfig.name @@ -7,3 +7,7 @@ config BOARD_GOOGLE_SKYRIM config BOARD_GOOGLE_WINTERHOLD bool "-> Winterhold" select BOARD_GOOGLE_BASEBOARD_SKYRIM + +config BOARD_GOOGLE_MORTHAL + bool "-> Morthal" + select BOARD_GOOGLE_BASEBOARD_SKYRIM diff --git a/src/mainboard/google/skyrim/variants/morthal/include/variant/ec.h b/src/mainboard/google/skyrim/variants/morthal/include/variant/ec.h new file mode 100644 index 0000000000..9e61a440cf --- /dev/null +++ b/src/mainboard/google/skyrim/variants/morthal/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/morthal/overridetree.cb b/src/mainboard/google/skyrim/variants/morthal/overridetree.cb new file mode 100644 index 0000000000..7a56f93759 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/morthal/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