summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoises <moisesgarcia@google.com>2022-08-22 14:40:47 -0700
committerKarthik Ramasubramanian <kramasub@google.com>2022-08-24 21:44:58 +0000
commitbcfd75796104b5fede09954fd5774d285fb4b6e4 (patch)
tree863cb5aa35a02fd5cea98bf97300992fa7667327
parentefade6dd33492ef04d3edf6c152a988dfa12c236 (diff)
mb/google/skyrim: Create morthal variant
Create the morthal 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_MORTHAL Signed-off-by: Moises <moisesgarcia@google.com> Change-Id: I25c25f067a040e6930f4fc60fadb8be85dc8eda6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66989 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Jon Murphy <jpmurphy@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/morthal/include/variant/ec.h3
-rw-r--r--src/mainboard/google/skyrim/variants/morthal/overridetree.cb5
4 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig
index ea485891fc..03c9dfa3ce 100644
--- a/src/mainboard/google/skyrim/Kconfig
+++ b/src/mainboard/google/skyrim/Kconfig
@@ -66,6 +66,7 @@ config MAINBOARD_FAMILY
config MAINBOARD_PART_NUMBER
default "Skyrim" if BOARD_GOOGLE_SKYRIM
default "Winterhold" if BOARD_GOOGLE_WINTERHOLD
+ default "Morthal" if BOARD_GOOGLE_MORTHAL
config OVERRIDE_DEVICETREE
string
@@ -75,6 +76,7 @@ config VARIANT_DIR
string
default "skyrim" if BOARD_GOOGLE_SKYRIM
default "winterhold" if BOARD_GOOGLE_WINTERHOLD
+ default "morthal" if BOARD_GOOGLE_MORTHAL
config VBOOT
select VBOOT_LID_SWITCH
diff --git a/src/mainboard/google/skyrim/Kconfig.name b/src/mainboard/google/skyrim/Kconfig.name
index 1587058da8..2091776a76 100644
--- a/src/mainboard/google/skyrim/Kconfig.name
+++ b/src/mainboard/google/skyrim/Kconfig.name
@@ -7,3 +7,7 @@ config BOARD_GOOGLE_SKYRIM
config BOARD_GOOGLE_WINTERHOLD
bool "-> Winterhold"
select BOARD_GOOGLE_BASEBOARD_SKYRIM
+
+config BOARD_GOOGLE_MORTHAL
+ bool "-> Morthal"
+ select BOARD_GOOGLE_BASEBOARD_SKYRIM
diff --git a/src/mainboard/google/skyrim/variants/morthal/include/variant/ec.h b/src/mainboard/google/skyrim/variants/morthal/include/variant/ec.h
new file mode 100644
index 0000000000..9e61a440cf
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/morthal/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/morthal/overridetree.cb b/src/mainboard/google/skyrim/variants/morthal/overridetree.cb
new file mode 100644
index 0000000000..7a56f93759
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/morthal/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