aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorEricKY Cheng <ericky_cheng@compal.corp-partner.google.com>2024-05-09 16:44:23 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-05-15 12:08:23 +0000
commit7728ed3ea2139908ab8e9a0c43b6ccdf7b1020d6 (patch)
tree4640b60993de258d614764b698b73bed93704fa2 /src/mainboard/google/brya
parentacdd8dd14d498834589d5e5bda6c9f3d5f5860d8 (diff)
mb/google/brya: Create orisa variant
Create the orisa 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:337178014 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_ORISA Change-Id: I0cd8d763ffd8864b455a7f8909e95f6aee8bb23e Signed-off-by: EricKY Cheng <ericky_cheng@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82241 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Amanda Hwang <amanda_hwang@compal.corp-partner.google.com> Reviewed-by: Dinesh Gehlot <digehlot@google.com> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/Kconfig6
-rw-r--r--src/mainboard/google/brya/Kconfig.name3
-rw-r--r--src/mainboard/google/brya/variants/orisa/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/orisa/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/orisa/memory/Makefile.mk5
-rw-r--r--src/mainboard/google/brya/variants/orisa/memory/dram_id.generated.txt1
-rw-r--r--src/mainboard/google/brya/variants/orisa/memory/mem_parts_used.txt11
-rw-r--r--src/mainboard/google/brya/variants/orisa/overridetree.cb6
8 files changed, 48 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index f82080be8f..e8c6c0ea18 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -370,6 +370,9 @@ config BOARD_GOOGLE_OMNIGUL
select SOC_INTEL_RAPTORLAKE
select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS
+config BOARD_GOOGLE_ORISA
+ select BOARD_GOOGLE_BASEBOARD_TRULO
+
config BOARD_GOOGLE_OSIRIS
select BOARD_GOOGLE_BASEBOARD_BRYA
select CHROMEOS_WIFI_SAR if CHROMEOS
@@ -644,6 +647,7 @@ config DRIVER_TPM_I2C_BUS
default 0x0 if BOARD_GOOGLE_NIVVIKS
default 0x1 if BOARD_GOOGLE_NOVA
default 0x1 if BOARD_GOOGLE_OMNIGUL
+ default 0x0 if BOARD_GOOGLE_ORISA
default 0x1 if BOARD_GOOGLE_OSIRIS
default 0x0 if BOARD_GOOGLE_PIRRHA
default 0x1 if BOARD_GOOGLE_PRIMUS
@@ -733,6 +737,7 @@ config MAINBOARD_PART_NUMBER
default "Nokris" if BOARD_GOOGLE_NOKRIS
default "Nova" if BOARD_GOOGLE_NOVA
default "Omnigul" if BOARD_GOOGLE_OMNIGUL
+ default "Orisa" if BOARD_GOOGLE_ORISA
default "Osiris" if BOARD_GOOGLE_OSIRIS
default "Pirrha" if BOARD_GOOGLE_PIRRHA
default "Primus" if BOARD_GOOGLE_PRIMUS
@@ -797,6 +802,7 @@ config VARIANT_DIR
default "nokris" if BOARD_GOOGLE_NOKRIS
default "nova" if BOARD_GOOGLE_NOVA
default "omnigul" if BOARD_GOOGLE_OMNIGUL
+ default "orisa" if BOARD_GOOGLE_ORISA
default "osiris" if BOARD_GOOGLE_OSIRIS
default "pirrha" if BOARD_GOOGLE_PIRRHA
default "primus" if BOARD_GOOGLE_PRIMUS
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index 52f2c9f95c..3229b18cd8 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -184,3 +184,6 @@ config BOARD_GOOGLE_SUNDANCE
config BOARD_GOOGLE_PUJJOGA
bool "-> Pujjoga"
+
+config BOARD_GOOGLE_ORISA
+ bool "-> Orisa"
diff --git a/src/mainboard/google/brya/variants/orisa/include/variant/ec.h b/src/mainboard/google/brya/variants/orisa/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/brya/variants/orisa/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/orisa/include/variant/gpio.h b/src/mainboard/google/brya/variants/orisa/include/variant/gpio.h
new file mode 100644
index 0000000000..c4fe342621
--- /dev/null
+++ b/src/mainboard/google/brya/variants/orisa/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/orisa/memory/Makefile.mk b/src/mainboard/google/brya/variants/orisa/memory/Makefile.mk
new file mode 100644
index 0000000000..eace2e443e
--- /dev/null
+++ b/src/mainboard/google/brya/variants/orisa/memory/Makefile.mk
@@ -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/orisa/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/orisa/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..fa247902ee
--- /dev/null
+++ b/src/mainboard/google/brya/variants/orisa/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/src/mainboard/google/brya/variants/orisa/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/orisa/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..2499005682
--- /dev/null
+++ b/src/mainboard/google/brya/variants/orisa/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.mk 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/orisa/overridetree.cb b/src/mainboard/google/brya/variants/orisa/overridetree.cb
new file mode 100644
index 0000000000..4f2c04a57a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/orisa/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end