summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVarshit Pandya <pandyavarshit@gmail.com>2023-08-31 22:18:48 +0530
committerMartin L Roth <gaumless@gmail.com>2023-09-01 21:07:58 +0000
commitd888f61f083cc68ff891b4b21191e1a8c5647307 (patch)
tree9a73fdb30911583060fb23f6e6d54cb9ec398ad3 /src
parent6d3682ee9b19b9e6833f38046891132be665c93c (diff)
mb/amd/onyx: Add minimal code for onyx compilation
Change-Id: I25807e116869d1bd7b8324525bc5ae1691e072e4 Signed-off-by: Varshit Pandya <pandyavarshit@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77601 Reviewed-by: Martin L Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/amd/onyx/Kconfig14
-rw-r--r--src/mainboard/amd/onyx/Kconfig.name2
-rw-r--r--src/mainboard/amd/onyx/board_info.txt1
-rw-r--r--src/mainboard/amd/onyx/devicetree.cb6
-rw-r--r--src/mainboard/amd/onyx/dsdt.asl13
5 files changed, 36 insertions, 0 deletions
diff --git a/src/mainboard/amd/onyx/Kconfig b/src/mainboard/amd/onyx/Kconfig
new file mode 100644
index 0000000000..ce1b980359
--- /dev/null
+++ b/src/mainboard/amd/onyx/Kconfig
@@ -0,0 +1,14 @@
+if BOARD_AMD_ONYX
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select SOC_AMD_GENOA
+ select MISSING_BOARD_RESET
+
+config MAINBOARD_DIR
+ default "amd/onyx"
+
+config MAINBOARD_PART_NUMBER
+ default "Onyx"
+
+endif
diff --git a/src/mainboard/amd/onyx/Kconfig.name b/src/mainboard/amd/onyx/Kconfig.name
new file mode 100644
index 0000000000..0dc99a735b
--- /dev/null
+++ b/src/mainboard/amd/onyx/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_AMD_ONYX
+ bool "Onyx"
diff --git a/src/mainboard/amd/onyx/board_info.txt b/src/mainboard/amd/onyx/board_info.txt
new file mode 100644
index 0000000000..b351b8e696
--- /dev/null
+++ b/src/mainboard/amd/onyx/board_info.txt
@@ -0,0 +1 @@
+Category: eval
diff --git a/src/mainboard/amd/onyx/devicetree.cb b/src/mainboard/amd/onyx/devicetree.cb
new file mode 100644
index 0000000000..5f447b2540
--- /dev/null
+++ b/src/mainboard/amd/onyx/devicetree.cb
@@ -0,0 +1,6 @@
+chip soc/amd/genoa
+
+ device domain 0 on
+ end
+
+end
diff --git a/src/mainboard/amd/onyx/dsdt.asl b/src/mainboard/amd/onyx/dsdt.asl
new file mode 100644
index 0000000000..ecfe7a5ebe
--- /dev/null
+++ b/src/mainboard/amd/onyx/dsdt.asl
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+/* DefinitionBlock Statement */
+#include <acpi/acpi.h>
+DefinitionBlock (
+ "dsdt.aml",
+ "DSDT",
+ ACPI_DSDT_REV_2,
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
+ 0x00010001 /* OEM Revision */
+)
+} /* End of ASL file */