summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorDinesh Gehlot <digehlot@google.com>2024-04-02 12:02:00 +0530
committerSubrata Banik <subratabanik@google.com>2024-04-11 11:55:48 +0000
commit60d5f8f8f0e71671270248718780f0b49da08906 (patch)
tree4db685657e867ebaf0c7179a5a943748c0b6a320 /src/mainboard/google/brya
parent0368e43e626de299e1bbca78370b78c1ae530889 (diff)
mb/google/brya: Create trulo variant
This patch adds a new variant trulo for the baseboard trulo. BUG=b:333314089 TEST=abuild -a -x -p none -t google/brya Change-Id: I91157d252ef56c8938bfc08ed0f734c5dc7e614d Signed-off-by: Dinesh Gehlot <digehlot@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81627 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.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/trulo/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/trulo/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/trulo/memory/Makefile.mk6
-rw-r--r--src/mainboard/google/brya/variants/trulo/memory/dram_id.generated.txt6
-rw-r--r--src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt11
-rw-r--r--src/mainboard/google/brya/variants/trulo/overridetree.cb4
8 files changed, 52 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 0df0ec1d7b..7f6f7c7eef 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -494,6 +494,9 @@ config BOARD_GOOGLE_TIVVIKS
select INTEL_GMA_HAVE_VBT
select SOC_INTEL_TWINLAKE
+config BOARD_GOOGLE_TRULO
+ select BOARD_GOOGLE_BASEBOARD_TRULO
+
config BOARD_GOOGLE_ULDREN
select BOARD_GOOGLE_BASEBOARD_NISSA
select CHROMEOS_WIFI_SAR if CHROMEOS
@@ -638,6 +641,7 @@ config DRIVER_TPM_I2C_BUS
default 0x3 if BOARD_GOOGLE_TAEKO4ES
default 0x1 if BOARD_GOOGLE_TANIKS
default 0x0 if BOARD_GOOGLE_TIVVIKS
+ default 0x0 if BOARD_GOOGLE_TRULO
default 0x0 if BOARD_GOOGLE_ULDREN
default 0x1 if BOARD_GOOGLE_VELL
default 0x1 if BOARD_GOOGLE_VOLMAR
@@ -726,6 +730,7 @@ config MAINBOARD_PART_NUMBER
default "Taeko4ES" if BOARD_GOOGLE_TAEKO4ES
default "Taniks" if BOARD_GOOGLE_TANIKS
default "Tivviks" if BOARD_GOOGLE_TIVVIKS
+ default "Trulo" if BOARD_GOOGLE_TRULO
default "Uldren" if BOARD_GOOGLE_ULDREN
default "Vell" if BOARD_GOOGLE_VELL
default "Volmar" if BOARD_GOOGLE_VOLMAR
@@ -786,6 +791,7 @@ config VARIANT_DIR
default "taeko" if BOARD_GOOGLE_TAEKO
default "taeko4es" if BOARD_GOOGLE_TAEKO4ES
default "taniks" if BOARD_GOOGLE_TANIKS
+ default "trulo" if BOARD_GOOGLE_TRULO
default "uldren" if BOARD_GOOGLE_ULDREN
default "vell" if BOARD_GOOGLE_VELL
default "volmar" if BOARD_GOOGLE_VOLMAR
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index a8d111aedd..0a22cad1fb 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -140,6 +140,9 @@ config BOARD_GOOGLE_TANIKS
config BOARD_GOOGLE_TIVVIKS
bool "-> Tivviks"
+config BOARD_GOOGLE_TRULO
+ bool "-> Trulo"
+
config BOARD_GOOGLE_ULDREN
bool "-> Uldren"
diff --git a/src/mainboard/google/brya/variants/trulo/include/variant/ec.h b/src/mainboard/google/brya/variants/trulo/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/brya/variants/trulo/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/trulo/include/variant/gpio.h b/src/mainboard/google/brya/variants/trulo/include/variant/gpio.h
new file mode 100644
index 0000000000..c4fe342621
--- /dev/null
+++ b/src/mainboard/google/brya/variants/trulo/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/trulo/memory/Makefile.mk b/src/mainboard/google/brya/variants/trulo/memory/Makefile.mk
new file mode 100644
index 0000000000..850a62cca2
--- /dev/null
+++ b/src/mainboard/google/brya/variants/trulo/memory/Makefile.mk
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# This is an auto-generated file. Do not edit!!
+# Generated by:
+# /tmp/go-build204585115/b001/exe/part_id_gen ADL lp5 src/mainboard/google/brya/variants/trulo/memory src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt
+
+SPD_SOURCES = placeholder
diff --git a/src/mainboard/google/brya/variants/trulo/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/trulo/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..8ce2480eec
--- /dev/null
+++ b/src/mainboard/google/brya/variants/trulo/memory/dram_id.generated.txt
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# This is an auto-generated file. Do not edit!!
+# Generated by:
+# /tmp/go-build204585115/b001/exe/part_id_gen ADL lp5 src/mainboard/google/brya/variants/trulo/memory src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt
+
+DRAM Part Name ID to assign
diff --git a/src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..2499005682
--- /dev/null
+++ b/src/mainboard/google/brya/variants/trulo/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/trulo/overridetree.cb b/src/mainboard/google/brya/variants/trulo/overridetree.cb
new file mode 100644
index 0000000000..ee861420f6
--- /dev/null
+++ b/src/mainboard/google/brya/variants/trulo/overridetree.cb
@@ -0,0 +1,4 @@
+chip soc/intel/alderlake
+ device domain 0 on
+ end
+end