summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChao Gui <chaogui@google.com>2022-11-11 10:44:12 -0800
committerFelix Held <felix-coreboot@felixheld.de>2022-11-16 13:50:56 +0000
commit42c602524737fc7de33f830831011b04f545b12e (patch)
treee8748468acc77008cf77c42c3aabb763b2d09b9e
parent2b2df3a1804b6b75978e6b8074bf8cdece846e12 (diff)
mb/google/skyrim: Create crystaldrift variant
Create the crystaldrift 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_CRYSTALDRIFT Signed-off-by: Chao Gui <chaogui@google.com> Change-Id: Ibb3ebaa7e4af1a03173b93b8c4fbd342f7cd7100 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69479 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Van Patten <timvp@google.com> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-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/crystaldrift/include/variant/ec.h3
-rw-r--r--src/mainboard/google/skyrim/variants/crystaldrift/overridetree.cb5
4 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig
index e545ba5b3c..ff80c26da7 100644
--- a/src/mainboard/google/skyrim/Kconfig
+++ b/src/mainboard/google/skyrim/Kconfig
@@ -80,6 +80,7 @@ config MAINBOARD_PART_NUMBER
default "Winterhold" if BOARD_GOOGLE_WINTERHOLD
default "Morthal" if BOARD_GOOGLE_MORTHAL
default "Frostflow" if BOARD_GOOGLE_FROSTFLOW
+ default "Crystaldrift" if BOARD_GOOGLE_CRYSTALDRIFT
config OVERRIDE_DEVICETREE
string
@@ -91,6 +92,7 @@ config VARIANT_DIR
default "winterhold" if BOARD_GOOGLE_WINTERHOLD
default "morthal" if BOARD_GOOGLE_MORTHAL
default "frostflow" if BOARD_GOOGLE_FROSTFLOW
+ default "crystaldrift" if BOARD_GOOGLE_CRYSTALDRIFT
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
diff --git a/src/mainboard/google/skyrim/Kconfig.name b/src/mainboard/google/skyrim/Kconfig.name
index f7f8d7c236..3146819b63 100644
--- a/src/mainboard/google/skyrim/Kconfig.name
+++ b/src/mainboard/google/skyrim/Kconfig.name
@@ -18,3 +18,7 @@ config BOARD_GOOGLE_FROSTFLOW
bool "-> Frostflow"
select BOARD_GOOGLE_BASEBOARD_SKYRIM
select DRIVERS_GENESYSLOGIC_GL9755
+
+config BOARD_GOOGLE_CRYSTALDRIFT
+ bool "-> Crystaldrift"
+ select BOARD_GOOGLE_BASEBOARD_SKYRIM
diff --git a/src/mainboard/google/skyrim/variants/crystaldrift/include/variant/ec.h b/src/mainboard/google/skyrim/variants/crystaldrift/include/variant/ec.h
new file mode 100644
index 0000000000..9e61a440cf
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/crystaldrift/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/crystaldrift/overridetree.cb b/src/mainboard/google/skyrim/variants/crystaldrift/overridetree.cb
new file mode 100644
index 0000000000..7a56f93759
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/crystaldrift/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