summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorStanley Wu <stanley1.wu@lcfc.corp-partner.google.com>2022-06-08 15:56:23 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-06-21 11:41:00 +0000
commit8e3610486ed2f37eb6a5450addad8f6ea91eebc1 (patch)
treea0da2de5643df07994558f55a3de32600f18d42b /src/mainboard/google/brya
parent77c86aafeb56b87ee78c29b259ef8e20fbc588bc (diff)
mb/google/nissa: Create pujjo variant
Create the pujjo variant of the nissa reference board by copying the template files to a new directory named for the variant. (Follow other ADLN variant to generate by manual) BUG=b:235182560 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_PUJJO Signed-off-by: Stanley Wu <stanley1.wu@lcfc.corp-partner.google.com> Change-Id: I73ec985bc19320260d0c3132c1ca23a3648df9e0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65016 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Reka Norman <rekanorman@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/Kconfig5
-rw-r--r--src/mainboard/google/brya/Kconfig.name4
-rw-r--r--src/mainboard/google/brya/variants/pujjo/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/pujjo/overridetree.cb6
5 files changed, 30 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 71479f44fd..9066a093c6 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -141,6 +141,7 @@ config DRIVER_TPM_I2C_BUS
default 0x1 if BOARD_GOOGLE_KULDAX
default 0x3 if BOARD_GOOGLE_SKOLAS4ES
default 0x0 if BOARD_GOOGLE_JOXER
+ default 0x0 if BOARD_GOOGLE_PUJJO
config DRIVER_TPM_I2C_ADDR
hex
@@ -202,6 +203,7 @@ config MAINBOARD_PART_NUMBER
default "Kuldax" if BOARD_GOOGLE_KULDAX
default "Skolas4ES" if BOARD_GOOGLE_SKOLAS4ES
default "Joxer" if BOARD_GOOGLE_JOXER
+ default "Pujjo" if BOARD_GOOGLE_PUJJO
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@@ -236,6 +238,7 @@ config VARIANT_DIR
default "kuldax" if BOARD_GOOGLE_KULDAX
default "skolas4es" if BOARD_GOOGLE_SKOLAS4ES
default "joxer" if BOARD_GOOGLE_JOXER
+ default "pujjo" if BOARD_GOOGLE_PUJJO
config VBOOT
select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA
@@ -266,7 +269,7 @@ config USE_PM_ACPI_TIMER
choice
prompt "Cache as RAM (CAR) setup configuration to use"
- default USE_ADL_NEM if BOARD_GOOGLE_BRYA4ES || BOARD_GOOGLE_PRIMUS4ES || BOARD_GOOGLE_GIMBLE4ES || BOARD_GOOGLE_REDRIX4ES || BOARD_GOOGLE_TAEKO4ES || BOARD_GOOGLE_ANAHERA4ES || BOARD_GOOGLE_TANIKS || BOARD_GOOGLE_NIVVIKS || BOARD_GOOGLE_NEREID || BOARD_GOOGLE_CRAASK || BOARD_GOOGLE_SKOLAS4ES || BOARD_GOOGLE_JOXER
+ default USE_ADL_NEM if BOARD_GOOGLE_BRYA4ES || BOARD_GOOGLE_PRIMUS4ES || BOARD_GOOGLE_GIMBLE4ES || BOARD_GOOGLE_REDRIX4ES || BOARD_GOOGLE_TAEKO4ES || BOARD_GOOGLE_ANAHERA4ES || BOARD_GOOGLE_TANIKS || BOARD_GOOGLE_NIVVIKS || BOARD_GOOGLE_NEREID || BOARD_GOOGLE_CRAASK || BOARD_GOOGLE_SKOLAS4ES || BOARD_GOOGLE_JOXER || BOARD_GOOGLE_PUJJO
default USE_ADL_ENEM
config USE_ADL_ENEM
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index d5cb33e0c3..b9ddcb939a 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -244,3 +244,7 @@ config BOARD_GOOGLE_KULDAX
config BOARD_GOOGLE_JOXER
bool "-> Joxer"
select BOARD_GOOGLE_BASEBOARD_NISSA
+
+config BOARD_GOOGLE_PUJJO
+ bool "-> Pujjo"
+ select BOARD_GOOGLE_BASEBOARD_NISSA
diff --git a/src/mainboard/google/brya/variants/pujjo/include/variant/ec.h b/src/mainboard/google/brya/variants/pujjo/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pujjo/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/pujjo/include/variant/gpio.h b/src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h
new file mode 100644
index 0000000000..c4fe342621
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pujjo/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/pujjo/overridetree.cb b/src/mainboard/google/brya/variants/pujjo/overridetree.cb
new file mode 100644
index 0000000000..4f2c04a57a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pujjo/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end