summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorRaymond Chung <raymondchung@ami.corp-partner.google.com>2022-07-27 12:49:44 +0800
committerPaul Fagerburg <pfagerburg@chromium.org>2022-07-29 15:02:05 +0000
commite59c5f8f06f874eb1ee711b5ca8c9d901c930f21 (patch)
treea47cd9e2ceda07cd2b7d1fca0330562c43d169fc /src/mainboard
parent82043f5a3666e364a052cf14a90894f99c3a5944 (diff)
mb/google/brya: Create gaelin variant
Create the gaelin 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:239514438 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_GAELIN Signed-off-by: Raymond Chung <raymondchung@ami.corp-partner.google.com> Change-Id: I7f1ff8690c7c57f8960e004d0490d5cede8667f3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66177 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Zhuohao Lee <zhuohao@google.com>
Diffstat (limited to 'src/mainboard')
-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/gaelin/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/gaelin/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/gaelin/overridetree.cb6
5 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index fde512f405..337f6e63d9 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -216,6 +216,7 @@ config MAINBOARD_PART_NUMBER
default "Joxer" if BOARD_GOOGLE_JOXER
default "Pujjo" if BOARD_GOOGLE_PUJJO
default "Xivu" if BOARD_GOOGLE_XIVU
+ default "Gaelin4ADL" if BOARD_GOOGLE_GAELIN4ADL
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@@ -252,6 +253,7 @@ config VARIANT_DIR
default "joxer" if BOARD_GOOGLE_JOXER
default "pujjo" if BOARD_GOOGLE_PUJJO
default "xivu" if BOARD_GOOGLE_XIVU
+ default "gaelin" if BOARD_GOOGLE_GAELIN4ADL
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 1e356eb3a0..af890ec2f4 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -270,3 +270,7 @@ config BOARD_GOOGLE_XIVU
select DRIVERS_GENERIC_GPIO_KEYS
select DRIVERS_GENESYSLOGIC_GL9750
select DRIVERS_INTEL_MIPI_CAMERA
+
+config BOARD_GOOGLE_GAELIN4ADL
+ bool "-> Gaelin4ADL"
+ select BOARD_GOOGLE_BASEBOARD_BRASK
diff --git a/src/mainboard/google/brya/variants/gaelin/include/variant/ec.h b/src/mainboard/google/brya/variants/gaelin/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/brya/variants/gaelin/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/gaelin/include/variant/gpio.h b/src/mainboard/google/brya/variants/gaelin/include/variant/gpio.h
new file mode 100644
index 0000000000..c4fe342621
--- /dev/null
+++ b/src/mainboard/google/brya/variants/gaelin/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/gaelin/overridetree.cb b/src/mainboard/google/brya/variants/gaelin/overridetree.cb
new file mode 100644
index 0000000000..4f2c04a57a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/gaelin/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end