summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorKevin Chiu <kevin.chiu.17802@gmail.com>2022-09-27 16:14:39 +0800
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-02 22:02:50 +0000
commit5b4a914fdf1124163374077e55c2e1be831cafbf (patch)
tree38cfa56471d0619c7fbaa910e0003b1b024c4c35 /src/mainboard/google/brya
parentef7dd5d54df9137b8167e86838270a7c812b21f3 (diff)
mb/google/brya: Create lisbon variant
Create the lisbon 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:246657849 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_LISBON Signed-off-by: Kevin Chiu <kevin.chiu.17802@gmail.com> Change-Id: Ia31752765657054b28ea16b046b63c38a72f95bf Reviewed-on: https://review.coreboot.org/c/coreboot/+/67900 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Zhuohao Lee <zhuohao@google.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/lisbon/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/lisbon/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/lisbon/overridetree.cb6
5 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 59340715cd..9e41cad0fa 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -210,6 +210,7 @@ config MAINBOARD_PART_NUMBER
default "Xivu" if BOARD_GOOGLE_XIVU
default "Gaelin4ADL" if BOARD_GOOGLE_GAELIN4ADL
default "Yaviks" if BOARD_GOOGLE_YAVIKS
+ default "Lisbon" if BOARD_GOOGLE_LISBON
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@@ -247,6 +248,7 @@ config VARIANT_DIR
default "xivu" if BOARD_GOOGLE_XIVU
default "gaelin" if BOARD_GOOGLE_GAELIN4ADL
default "yaviks" if BOARD_GOOGLE_YAVIKS
+ default "lisbon" if BOARD_GOOGLE_LISBON
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 2d031da7b1..df94b2078d 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -267,3 +267,7 @@ config BOARD_GOOGLE_YAVIKS
bool "-> Yaviks"
select BOARD_GOOGLE_BASEBOARD_NISSA
select DRIVERS_GENESYSLOGIC_GL9750
+
+config BOARD_GOOGLE_LISBON
+ bool "-> Lisbon"
+ select BOARD_GOOGLE_BASEBOARD_BRASK
diff --git a/src/mainboard/google/brya/variants/lisbon/include/variant/ec.h b/src/mainboard/google/brya/variants/lisbon/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/brya/variants/lisbon/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/lisbon/include/variant/gpio.h b/src/mainboard/google/brya/variants/lisbon/include/variant/gpio.h
new file mode 100644
index 0000000000..c4fe342621
--- /dev/null
+++ b/src/mainboard/google/brya/variants/lisbon/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/lisbon/overridetree.cb b/src/mainboard/google/brya/variants/lisbon/overridetree.cb
new file mode 100644
index 0000000000..4f2c04a57a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/lisbon/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end