summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorRaymond Chung <raymondchung@ami.corp-partner.google.com>2023-07-28 10:39:24 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-07-31 13:54:53 +0000
commit53e58744498bab29b8914ed4e7013a71bc1f9d97 (patch)
tree17e7e71874581e8e49497b248fad379c023c7704 /src/mainboard/google/brya
parent11ba8ebbcc662ebd1dc8e14372a020eb32f26561 (diff)
downloadcoreboot-53e58744498bab29b8914ed4e7013a71bc1f9d97.tar.gz
coreboot-53e58744498bab29b8914ed4e7013a71bc1f9d97.tar.bz2
coreboot-53e58744498bab29b8914ed4e7013a71bc1f9d97.zip
mb/google/brya: Create pirrha variant
Create the pirrha variant of the nissa 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:292134655 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_PIRRHA Change-Id: Idc0a4dbb467cbdb91a5ed55c5e0a9e898e775b11 Signed-off-by: Raymond Chung <raymondchung@ami.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76768 Reviewed-by: SH Kim <sh_.kim@samsung.corp-partner.google.com> Reviewed-by: Shou-Chieh Hsu <shouchieh@google.com> Reviewed-by: Derek Huang <derekhuang@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/Kconfig2
-rw-r--r--src/mainboard/google/brya/Kconfig.name4
-rw-r--r--src/mainboard/google/brya/variants/pirrha/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/pirrha/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/pirrha/memory/Makefile.inc5
-rw-r--r--src/mainboard/google/brya/variants/pirrha/memory/dram_id.generated.txt1
-rw-r--r--src/mainboard/google/brya/variants/pirrha/memory/mem_parts_used.txt11
-rw-r--r--src/mainboard/google/brya/variants/pirrha/overridetree.cb6
8 files changed, 45 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 1a56d35dd869..7c95bb696c67 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -244,6 +244,7 @@ config MAINBOARD_PART_NUMBER
default "Yavilla" if BOARD_GOOGLE_YAVILLA
default "Gothrax" if BOARD_GOOGLE_GOTHRAX
default "Craaskov" if BOARD_GOOGLE_CRAASKOV
+ default "Pirrha" if BOARD_GOOGLE_PIRRHA
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@@ -293,6 +294,7 @@ config VARIANT_DIR
default "yavilla" if BOARD_GOOGLE_YAVILLA
default "gothrax" if BOARD_GOOGLE_GOTHRAX
default "craaskov" if BOARD_GOOGLE_CRAASKOV
+ default "pirrha" if BOARD_GOOGLE_PIRRHA
config VBOOT
select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index be67f5670c9d..785c60ac87c2 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -396,3 +396,7 @@ config BOARD_GOOGLE_GOTHRAX
config BOARD_GOOGLE_CRAASKOV
bool "-> Craaskov"
select BOARD_GOOGLE_BASEBOARD_NISSA
+
+config BOARD_GOOGLE_PIRRHA
+ bool "-> Pirrha"
+ select BOARD_GOOGLE_BASEBOARD_NISSA
diff --git a/src/mainboard/google/brya/variants/pirrha/include/variant/ec.h b/src/mainboard/google/brya/variants/pirrha/include/variant/ec.h
new file mode 100644
index 000000000000..7a2a6ff8b774
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pirrha/include/variant/ec.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __VARIANT_EC_H__
+#define __VARIANT_EC_H__
+
+#include <baseboard/ec.h>
+
+#endif
diff --git a/src/mainboard/google/brya/variants/pirrha/include/variant/gpio.h b/src/mainboard/google/brya/variants/pirrha/include/variant/gpio.h
new file mode 100644
index 000000000000..c4fe342621e6
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pirrha/include/variant/gpio.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef VARIANT_GPIO_H
+#define VARIANT_GPIO_H
+
+#include <baseboard/gpio.h>
+
+#endif
diff --git a/src/mainboard/google/brya/variants/pirrha/memory/Makefile.inc b/src/mainboard/google/brya/variants/pirrha/memory/Makefile.inc
new file mode 100644
index 000000000000..eace2e443e20
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pirrha/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
diff --git a/src/mainboard/google/brya/variants/pirrha/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/pirrha/memory/dram_id.generated.txt
new file mode 100644
index 000000000000..fa247902eeee
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pirrha/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/src/mainboard/google/brya/variants/pirrha/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/pirrha/memory/mem_parts_used.txt
new file mode 100644
index 000000000000..96211370d91b
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pirrha/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
+# part_id_gen tool from util/spd_tools.
+# See util/spd_tools/README.md for more details and instructions.
+
+# Part Name
diff --git a/src/mainboard/google/brya/variants/pirrha/overridetree.cb b/src/mainboard/google/brya/variants/pirrha/overridetree.cb
new file mode 100644
index 000000000000..4f2c04a57af4
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pirrha/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end