summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorris Hsu <morris-hsu@quanta.corp-partner.google.com>2023-02-02 19:46:12 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-02-07 13:48:18 +0000
commitfc84a555dacf490eaa57a457d8823db1f99e9e0c (patch)
tree5fc0469cf1205b96acdac3dc21b74f21686d45cf /src
parent55d0af4618494a058d0c5a77b21cfaa003de7fa1 (diff)
mb/google/brya: Create constitution variant
Create the constitution variant of the brask 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:267539938 TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_CONSTITUTION Change-Id: Idb6089561d3aa5aac4448f9d46347c731f027e9c Signed-off-by: Morris Hsu <morris-hsu@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72730 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig3
-rw-r--r--src/mainboard/google/brya/Kconfig.name4
-rw-r--r--src/mainboard/google/brya/variants/constitution/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/constitution/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/constitution/overridetree.cb6
5 files changed, 29 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index dad98217b2..c947ce8c3b 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -155,6 +155,7 @@ config DRIVER_TPM_I2C_BUS
default 0x1 if BOARD_GOOGLE_MARASOV
default 0x1 if BOARD_GOOGLE_GAELIN
default 0x1 if BOARD_GOOGLE_OMNIGUL
+ default 0x1 if BOARD_GOOGLE_CONSTITUTION
config DRIVER_TPM_I2C_ADDR
hex
@@ -225,6 +226,7 @@ config MAINBOARD_PART_NUMBER
default "Gladios" if BOARD_GOOGLE_GLADIOS
default "Marasov" if BOARD_GOOGLE_MARASOV
default "Omnigul" if BOARD_GOOGLE_OMNIGUL
+ default "Constitution" if BOARD_GOOGLE_CONSTITUTION
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@@ -267,6 +269,7 @@ config VARIANT_DIR
default "gladios" if BOARD_GOOGLE_GLADIOS
default "marasov" if BOARD_GOOGLE_MARASOV
default "omnigul" if BOARD_GOOGLE_OMNIGUL
+ default "constitution" if BOARD_GOOGLE_CONSTITUTION
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 087837f00b..4b997086d7 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -332,3 +332,7 @@ config BOARD_GOOGLE_OMNIGUL
select SOC_INTEL_RAPTORLAKE
select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS
select DRIVERS_INTEL_ISH
+
+config BOARD_GOOGLE_CONSTITUTION
+ bool "-> Constitution"
+ select BOARD_GOOGLE_BASEBOARD_BRASK
diff --git a/src/mainboard/google/brya/variants/constitution/include/variant/ec.h b/src/mainboard/google/brya/variants/constitution/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/brya/variants/constitution/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/constitution/include/variant/gpio.h b/src/mainboard/google/brya/variants/constitution/include/variant/gpio.h
new file mode 100644
index 0000000000..c4fe342621
--- /dev/null
+++ b/src/mainboard/google/brya/variants/constitution/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/constitution/overridetree.cb b/src/mainboard/google/brya/variants/constitution/overridetree.cb
new file mode 100644
index 0000000000..4f2c04a57a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/constitution/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end