aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-12-02 14:25:40 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-12-05 09:43:32 +0000
commitd9fd2e29356bfe182158f2bed391e9bf7f062c60 (patch)
tree2ee5293012614e8499e066794978185b92375523
parentdc2d3566ffa9bdf6edbb000c1d66c6bcd1939e9d (diff)
mb/amd/majolica: add skeleton of Cezanne reference board
This is an adapted copy of mainboard/example/min86 that is currently only used for Jenkins to test the SoC code in soc/amd/cezanne and isn't expected to reach boot block at the moment. It will be extended in future follow-up commits. Change-Id: I6806955952fbfa3227294cfc44fdf9156140e933 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48238 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
-rw-r--r--src/mainboard/amd/majolica/Kconfig16
-rw-r--r--src/mainboard/amd/majolica/Kconfig.name2
-rw-r--r--src/mainboard/amd/majolica/board_info.txt1
-rw-r--r--src/mainboard/amd/majolica/devicetree.cb8
4 files changed, 27 insertions, 0 deletions
diff --git a/src/mainboard/amd/majolica/Kconfig b/src/mainboard/amd/majolica/Kconfig
new file mode 100644
index 0000000000..eeaf3b04e2
--- /dev/null
+++ b/src/mainboard/amd/majolica/Kconfig
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+if BOARD_AMD_MAJOLICA
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select SOC_AMD_CEZANNE
+ select MISSING_BOARD_RESET
+
+config MAINBOARD_DIR
+ default "amd/majolica"
+
+config MAINBOARD_PART_NUMBER
+ default "MAJOLICA"
+
+endif # BOARD_AMD_MAJOLICA
diff --git a/src/mainboard/amd/majolica/Kconfig.name b/src/mainboard/amd/majolica/Kconfig.name
new file mode 100644
index 0000000000..8c305cf7b7
--- /dev/null
+++ b/src/mainboard/amd/majolica/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_MAJOLICA
+ bool "Majolica"
diff --git a/src/mainboard/amd/majolica/board_info.txt b/src/mainboard/amd/majolica/board_info.txt
new file mode 100644
index 0000000000..b351b8e696
--- /dev/null
+++ b/src/mainboard/amd/majolica/board_info.txt
@@ -0,0 +1 @@
+Category: eval
diff --git a/src/mainboard/amd/majolica/devicetree.cb b/src/mainboard/amd/majolica/devicetree.cb
new file mode 100644
index 0000000000..a1415525c7
--- /dev/null
+++ b/src/mainboard/amd/majolica/devicetree.cb
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+chip soc/amd/cezanne
+
+ device domain 0 on
+ end
+
+end