summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorChao Gui <chaogui@google.com>2022-12-31 07:01:14 -0800
committerMartin L Roth <gaumless@gmail.com>2023-01-04 07:06:27 +0000
commitca07e1cff98070dcc845692ca576273f41b482fd (patch)
tree5b55eb9e11af90f4bf6247fc26aa845fea0613a2 /src/mainboard
parentcdf7ec6faa60f8f6a5650214a6bc9bb30f32e13e (diff)
mb/google/skyrim: Create markarth variant
Create the markarth 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:262092858 BRANCH=None TEST=util/abuild/abuild -p none -t google/skyrim -x -a make sure the build includes GOOGLE_MARKARTH Change-Id: Ifbace841ca56d8659aaffdc31fb2bc4367d96f82 Signed-off-by: Chao Gui <chaogui@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71610 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.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/markarth/include/variant/ec.h3
-rw-r--r--src/mainboard/google/skyrim/variants/markarth/overridetree.cb5
4 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig
index 5eee2d617a..493ecb5941 100644
--- a/src/mainboard/google/skyrim/Kconfig
+++ b/src/mainboard/google/skyrim/Kconfig
@@ -91,6 +91,7 @@ config MAINBOARD_PART_NUMBER
default "Morthal" if BOARD_GOOGLE_MORTHAL
default "Frostflow" if BOARD_GOOGLE_FROSTFLOW
default "Crystaldrift" if BOARD_GOOGLE_CRYSTALDRIFT
+ default "Markarth" if BOARD_GOOGLE_MARKARTH
config OVERRIDE_DEVICETREE
string
@@ -103,6 +104,7 @@ config VARIANT_DIR
default "morthal" if BOARD_GOOGLE_MORTHAL
default "frostflow" if BOARD_GOOGLE_FROSTFLOW
default "crystaldrift" if BOARD_GOOGLE_CRYSTALDRIFT
+ default "markarth" if BOARD_GOOGLE_MARKARTH
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
diff --git a/src/mainboard/google/skyrim/Kconfig.name b/src/mainboard/google/skyrim/Kconfig.name
index 23aea4812c..e7c6505c6c 100644
--- a/src/mainboard/google/skyrim/Kconfig.name
+++ b/src/mainboard/google/skyrim/Kconfig.name
@@ -26,3 +26,7 @@ config BOARD_GOOGLE_FROSTFLOW
config BOARD_GOOGLE_CRYSTALDRIFT
bool "-> Crystaldrift"
select BOARD_GOOGLE_BASEBOARD_SKYRIM
+
+config BOARD_GOOGLE_MARKARTH
+ bool "-> Markarth"
+ select BOARD_GOOGLE_BASEBOARD_SKYRIM
diff --git a/src/mainboard/google/skyrim/variants/markarth/include/variant/ec.h b/src/mainboard/google/skyrim/variants/markarth/include/variant/ec.h
new file mode 100644
index 0000000000..9e61a440cf
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/markarth/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/markarth/overridetree.cb b/src/mainboard/google/skyrim/variants/markarth/overridetree.cb
new file mode 100644
index 0000000000..7a56f93759
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/markarth/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