summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorKevin Chiu <kevin.chiu.17802@gmail.com>2022-10-19 20:14:06 +0800
committerNick Vaccaro <nvaccaro@google.com>2022-10-20 23:56:10 +0000
commit52163149b404cbeb1cd5e60a5c2da061b964908c (patch)
tree50dfc94e633faa6e0473598496be90eaf05ff10b /src/mainboard/google/brya
parente1b3864f0ea33312aeac40a0bba62744e1a7610a (diff)
mb/google/brya: Create gladios ADL variant
Create the gladios 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:239513596 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_gladios Signed-off-by: Kevin Chiu <kevin.chiu.17802@gmail.com> Change-Id: I3dc99d97d8e30d9641f56616222dd68e3a0d548d Reviewed-on: https://review.coreboot.org/c/coreboot/+/68569 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Zhuohao Lee <zhuohao@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/Kconfig2
-rw-r--r--src/mainboard/google/brya/Kconfig.name4
-rw-r--r--src/mainboard/google/brya/variants/gladios/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/gladios/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/gladios/overridetree.cb6
5 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index b86005a532..577c2cae72 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -213,6 +213,7 @@ config MAINBOARD_PART_NUMBER
default "Yaviks" if BOARD_GOOGLE_YAVIKS
default "Lisbon" if BOARD_GOOGLE_LISBON
default "Zydron" if BOARD_GOOGLE_ZYDRON
+ default "Gladios" if BOARD_GOOGLE_GLADIOS
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@@ -252,6 +253,7 @@ config VARIANT_DIR
default "yaviks" if BOARD_GOOGLE_YAVIKS
default "lisbon" if BOARD_GOOGLE_LISBON
default "zydron" if BOARD_GOOGLE_ZYDRON
+ default "gladios" if BOARD_GOOGLE_GLADIOS
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 3c98dca678..9992eea17d 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -281,3 +281,7 @@ config BOARD_GOOGLE_ZYDRON
select DRIVERS_I2C_NAU8825
select DRIVERS_INTEL_MIPI_CAMERA
select SOC_INTEL_COMMON_BLOCK_IPU
+
+config BOARD_GOOGLE_GLADIOS
+ bool "-> Gladios"
+ select BOARD_GOOGLE_BASEBOARD_BRASK
diff --git a/src/mainboard/google/brya/variants/gladios/include/variant/ec.h b/src/mainboard/google/brya/variants/gladios/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/brya/variants/gladios/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/gladios/include/variant/gpio.h b/src/mainboard/google/brya/variants/gladios/include/variant/gpio.h
new file mode 100644
index 0000000000..c4fe342621
--- /dev/null
+++ b/src/mainboard/google/brya/variants/gladios/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/gladios/overridetree.cb b/src/mainboard/google/brya/variants/gladios/overridetree.cb
new file mode 100644
index 0000000000..4f2c04a57a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/gladios/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end