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 <chaogui@google.com>
Change-Id: I937e6562094968824e73bfa20390b3ec8b24dfa0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68189
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig
index 0bc9ea9..cb1932f 100644
--- a/src/mainboard/google/skyrim/Kconfig
+++ b/src/mainboard/google/skyrim/Kconfig
@@ -78,6 +78,7 @@
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 @@
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 2091776..498f09b 100644
--- a/src/mainboard/google/skyrim/Kconfig.name
+++ b/src/mainboard/google/skyrim/Kconfig.name
@@ -11,3 +11,7 @@
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 0000000..9e61a44
--- /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 <baseboard/ec.h>
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 0000000..7a56f93
--- /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