summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorChao Gui <chaogui@google.com>2022-10-06 13:27:46 -0700
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-08 21:08:32 +0000
commitd171e7f12bc908f757fdd3501f7d9c9e336f1b42 (patch)
tree121a23da77867e930cbc59fedac2905ec1b1f4d6 /src/mainboard
parent373517cdeb5d97caa4585880b4fd74a3669ffd7f (diff)
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/skyrim/Kconfig2
-rw-r--r--src/mainboard/google/skyrim/Kconfig.name4
-rw-r--r--src/mainboard/google/skyrim/variants/frostflow/include/variant/ec.h3
-rw-r--r--src/mainboard/google/skyrim/variants/frostflow/overridetree.cb5
4 files changed, 14 insertions, 0 deletions
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 <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 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