summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBhanu Prakash Maiya <bhanumaiya@google.com>2021-08-23 14:43:37 -0700
committerPaul Fagerburg <pfagerburg@chromium.org>2021-08-26 14:24:39 +0000
commit7d41491e76eea186fe0e734e50fdb827e877e0ad (patch)
tree1fff8d2d79378eedf1f45285e43c2258ea563c99 /src
parentab9140773581f072ce36114f726abb8637373a4c (diff)
mb/google/guybrush: Create dewatt variant
Create the dewatt variant of the guybrush 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:196460993 BRANCH=None TEST=util/abuild/abuild -p none -t google/guybrush -x -a make sure the build includes GOOGLE_DEWATT Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@google.com> Change-Id: I57860a7cad1bf202bd3ef3eed5f498fbf1d29af8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57108 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/guybrush/Kconfig2
-rw-r--r--src/mainboard/google/guybrush/Kconfig.name4
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/Makefile.inc3
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/include/variant/ec.h3
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/include/variant/gpio.h3
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/memory/Makefile.inc5
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/memory/dram_id.generated.txt1
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt11
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/overridetree.cb7
9 files changed, 39 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/Kconfig b/src/mainboard/google/guybrush/Kconfig
index d4c54a5159..c6e6801ee5 100644
--- a/src/mainboard/google/guybrush/Kconfig
+++ b/src/mainboard/google/guybrush/Kconfig
@@ -74,6 +74,7 @@ config MAINBOARD_DIR
config MAINBOARD_PART_NUMBER
default "Guybrush" if BOARD_GOOGLE_GUYBRUSH
default "Nipperkin" if BOARD_GOOGLE_NIPPERKIN
+ default "Dewatt" if BOARD_GOOGLE_DEWATT
config AMD_FWM_POSITION_INDEX
int
@@ -106,6 +107,7 @@ config EFS_SPI_SPEED
config VARIANT_DIR
default "guybrush" if BOARD_GOOGLE_GUYBRUSH
default "nipperkin" if BOARD_GOOGLE_NIPPERKIN
+ default "dewatt" if BOARD_GOOGLE_DEWATT
config DEVICETREE
default "variants/baseboard/devicetree.cb"
diff --git a/src/mainboard/google/guybrush/Kconfig.name b/src/mainboard/google/guybrush/Kconfig.name
index edddbf8efc..7ca36880b7 100644
--- a/src/mainboard/google/guybrush/Kconfig.name
+++ b/src/mainboard/google/guybrush/Kconfig.name
@@ -7,3 +7,7 @@ config BOARD_GOOGLE_GUYBRUSH
config BOARD_GOOGLE_NIPPERKIN
bool "-> Nipperkin"
select BOARD_GOOGLE_BASEBOARD_GUYBRUSH
+
+config BOARD_GOOGLE_DEWATT
+ bool "-> Dewatt"
+ select BOARD_GOOGLE_BASEBOARD_GUYBRUSH
diff --git a/src/mainboard/google/guybrush/variants/dewatt/Makefile.inc b/src/mainboard/google/guybrush/variants/dewatt/Makefile.inc
new file mode 100644
index 0000000000..88e75bde52
--- /dev/null
+++ b/src/mainboard/google/guybrush/variants/dewatt/Makefile.inc
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+subdirs-y += ./memory
diff --git a/src/mainboard/google/guybrush/variants/dewatt/include/variant/ec.h b/src/mainboard/google/guybrush/variants/dewatt/include/variant/ec.h
new file mode 100644
index 0000000000..9e61a440cf
--- /dev/null
+++ b/src/mainboard/google/guybrush/variants/dewatt/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/guybrush/variants/dewatt/include/variant/gpio.h b/src/mainboard/google/guybrush/variants/dewatt/include/variant/gpio.h
new file mode 100644
index 0000000000..dfaeec3ae1
--- /dev/null
+++ b/src/mainboard/google/guybrush/variants/dewatt/include/variant/gpio.h
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/gpio.h>
diff --git a/src/mainboard/google/guybrush/variants/dewatt/memory/Makefile.inc b/src/mainboard/google/guybrush/variants/dewatt/memory/Makefile.inc
new file mode 100644
index 0000000000..b0ca2223a8
--- /dev/null
+++ b/src/mainboard/google/guybrush/variants/dewatt/memory/Makefile.inc
@@ -0,0 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+## Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+
+SPD_SOURCES = placeholder.spd.hex
diff --git a/src/mainboard/google/guybrush/variants/dewatt/memory/dram_id.generated.txt b/src/mainboard/google/guybrush/variants/dewatt/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..fa247902ee
--- /dev/null
+++ b/src/mainboard/google/guybrush/variants/dewatt/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt b/src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..8124e4f7ed
--- /dev/null
+++ b/src/mainboard/google/guybrush/variants/dewatt/memory/mem_parts_used.txt
@@ -0,0 +1,11 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# One part per line with an optional fixed ID in column 2.
+# Only include a fixed ID if it is required for legacy reasons!
+# Generated IDs are dependent on the order of parts in this file,
+# so new parts must always be added at the end of the file!
+#
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# gen_part_id tool from util/spd_tools/{ddr4,lp4x}.
+# See util/spd_tools/{ddr4,lp4x}/README.md for more details and instructions.
+
+# Part Name, Fixed ID (optional)
diff --git a/src/mainboard/google/guybrush/variants/dewatt/overridetree.cb b/src/mainboard/google/guybrush/variants/dewatt/overridetree.cb
new file mode 100644
index 0000000000..c182265075
--- /dev/null
+++ b/src/mainboard/google/guybrush/variants/dewatt/overridetree.cb
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+chip soc/amd/cezanne
+ device domain 0 on
+
+ end # domain
+end # chip soc/amd/cezanne