From d171e7f12bc908f757fdd3501f7d9c9e336f1b42 Mon Sep 17 00:00:00 2001 From: Chao Gui Date: Thu, 6 Oct 2022 13:27:46 -0700 Subject: [PATCH] mb/google/skyrim: Create frostflow variant Create the frostflow 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_FROSTFLOW Signed-off-by: Chao Gui Change-Id: I937e6562094968824e73bfa20390b3ec8b24dfa0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68189 Tested-by: build bot (Jenkins) Reviewed-by: Frank Wu Reviewed-by: Karthik Ramasubramanian --- src/mainboard/google/skyrim/Kconfig | 2 ++ src/mainboard/google/skyrim/Kconfig.name | 4 ++++ .../google/skyrim/variants/frostflow/include/variant/ec.h | 3 +++ .../google/skyrim/variants/frostflow/overridetree.cb | 5 +++++ 4 files changed, 14 insertions(+) create mode 100644 src/mainboard/google/skyrim/variants/frostflow/include/variant/ec.h create mode 100644 src/mainboard/google/skyrim/variants/frostflow/overridetree.cb diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig index 0bc9ea981c..cb1932f53d 100644 --- a/src/mainboard/google/skyrim/Kconfig +++ b/src/mainboard/google/skyrim/Kconfig @@ -78,6 +78,7 @@ config MAINBOARD_PART_NUMBER default "Skyrim" if BOARD_GOOGLE_SKYRIM default "Winterhold" if BOARD_GOOGLE_WINTERHOLD default "Morthal" if BOARD_GOOGLE_MORTHAL + default "Frostflow" if BOARD_GOOGLE_FROSTFLOW config OVERRIDE_DEVICETREE string @@ -88,6 +89,7 @@ config VARIANT_DIR default "skyrim" if BOARD_GOOGLE_SKYRIM default "winterhold" if BOARD_GOOGLE_WINTERHOLD default "morthal" if BOARD_GOOGLE_MORTHAL + default "frostflow" if BOARD_GOOGLE_FROSTFLOW config VBOOT select EC_GOOGLE_CHROMEEC_SWITCHES diff --git a/src/mainboard/google/skyrim/Kconfig.name b/src/mainboard/google/skyrim/Kconfig.name index 2091776a76..498f09ba2d 100644 --- a/src/mainboard/google/skyrim/Kconfig.name +++ b/src/mainboard/google/skyrim/Kconfig.name @@ -11,3 +11,7 @@ config BOARD_GOOGLE_WINTERHOLD config BOARD_GOOGLE_MORTHAL bool "-> Morthal" select BOARD_GOOGLE_BASEBOARD_SKYRIM + +config BOARD_GOOGLE_FROSTFLOW + bool "-> Frostflow" + select BOARD_GOOGLE_BASEBOARD_SKYRIM diff --git a/src/mainboard/google/skyrim/variants/frostflow/include/variant/ec.h b/src/mainboard/google/skyrim/variants/frostflow/include/variant/ec.h new file mode 100644 index 0000000000..9e61a440cf --- /dev/null +++ b/src/mainboard/google/skyrim/variants/frostflow/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/frostflow/overridetree.cb b/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb new file mode 100644 index 0000000000..7a56f93759 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/frostflow/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