summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2022-05-21 17:02:10 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-05-24 12:59:36 +0000
commitb844e6d434eda26a71db682496dd1c1132ab007e (patch)
tree62cb1e2941bfabd35aa02f67df2b62c081925141 /src/mainboard/google
parent26bba6f29b4c1b89a667eee0e0938de1369b378a (diff)
mb/google/brya: Create kuldax variant
Create the kuldax 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:233380254 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_KULDAX Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: I95c04768bbed8657d2858bcd66fc041f56910b8a Reviewed-on: https://review.coreboot.org/c/coreboot/+/64559 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Zhuohao Lee <zhuohao@google.com>
Diffstat (limited to 'src/mainboard/google')
-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/kuldax/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/kuldax/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/kuldax/overridetree.cb6
5 files changed, 29 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 67995b5d77..51b2a2db99 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -123,6 +123,7 @@ config DRIVER_TPM_I2C_BUS
default 0x1 if BOARD_GOOGLE_MOLI
default 0x1 if BOARD_GOOGLE_OSIRIS
default 0x1 if BOARD_GOOGLE_MITHRAX
+ default 0x1 if BOARD_GOOGLE_KULDAX
config DRIVER_TPM_I2C_ADDR
hex
@@ -178,6 +179,7 @@ config MAINBOARD_PART_NUMBER
default "Craask" if BOARD_GOOGLE_CRAASK
default "Osiris" if BOARD_GOOGLE_OSIRIS
default "Mithrax" if BOARD_GOOGLE_MITHRAX
+ default "Kuldax" if BOARD_GOOGLE_KULDAX
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@@ -208,6 +210,7 @@ config VARIANT_DIR
default "craask" if BOARD_GOOGLE_CRAASK
default "osiris" if BOARD_GOOGLE_OSIRIS
default "mithrax" if BOARD_GOOGLE_MITHRAX
+ default "kuldax" if BOARD_GOOGLE_KULDAX
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 856140810d..e2a917c337 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -221,3 +221,7 @@ config BOARD_GOOGLE_MITHRAX
select BOARD_GOOGLE_BASEBOARD_BRYA
select DRIVERS_GENERIC_GPIO_KEYS
select DRIVERS_GENESYSLOGIC_GL9755
+
+config BOARD_GOOGLE_KULDAX
+ bool "-> Kuldax"
+ select BOARD_GOOGLE_BASEBOARD_BRASK
diff --git a/src/mainboard/google/brya/variants/kuldax/include/variant/ec.h b/src/mainboard/google/brya/variants/kuldax/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/brya/variants/kuldax/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/kuldax/include/variant/gpio.h b/src/mainboard/google/brya/variants/kuldax/include/variant/gpio.h
new file mode 100644
index 0000000000..c4fe342621
--- /dev/null
+++ b/src/mainboard/google/brya/variants/kuldax/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/kuldax/overridetree.cb b/src/mainboard/google/brya/variants/kuldax/overridetree.cb
new file mode 100644
index 0000000000..4f2c04a57a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/kuldax/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end