summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaihow Shi <raihow_shi@wistron.corp-partner.google.com>2022-02-09 19:42:12 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-02-10 14:30:00 +0000
commit47318c923ef50aa03a05271d5864bc1f03c3f300 (patch)
tree93a571414d21ff553765cf9e73f589ab02000547
parent8ad51a8abfbda76237141230cf73a6b572620a06 (diff)
mb/google/brya: Create moli variant
Create the moli 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:214439135 BRANCH=None TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_MOLI Signed-off-by: Raihow Shi <raihow_shi@wistron.corp-partner.google.com> Change-Id: I3f3bfd3db12cba8b73b351e7c700b6a58797c906 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61766 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Zhuohao Lee <zhuohao@google.com>
-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/moli/include/variant/ec.h8
-rw-r--r--src/mainboard/google/brya/variants/moli/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/brya/variants/moli/overridetree.cb6
5 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index b398386d6d..86c546d95b 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -160,6 +160,7 @@ config MAINBOARD_PART_NUMBER
default "Volmar" if BOARD_GOOGLE_VOLMAR
default "Banshee" if BOARD_GOOGLE_BANSHEE
default "Crota" if BOARD_GOOGLE_CROTA
+ default "Moli" if BOARD_GOOGLE_MOLI
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@@ -185,6 +186,7 @@ config VARIANT_DIR
default "volmar" if BOARD_GOOGLE_VOLMAR
default "banshee" if BOARD_GOOGLE_BANSHEE
default "crota" if BOARD_GOOGLE_CROTA
+ default "moli" if BOARD_GOOGLE_MOLI
config VBOOT
select VBOOT_EARLY_EC_SYNC
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index 769b402186..e170b46f41 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -164,3 +164,7 @@ config BOARD_GOOGLE_BANSHEE
config BOARD_GOOGLE_CROTA
bool "-> Crota"
select BOARD_GOOGLE_BASEBOARD_BRYA
+
+config BOARD_GOOGLE_MOLI
+ bool "-> Moli"
+ select BOARD_GOOGLE_BASEBOARD_BRASK
diff --git a/src/mainboard/google/brya/variants/moli/include/variant/ec.h b/src/mainboard/google/brya/variants/moli/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/brya/variants/moli/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/moli/include/variant/gpio.h b/src/mainboard/google/brya/variants/moli/include/variant/gpio.h
new file mode 100644
index 0000000000..c4fe342621
--- /dev/null
+++ b/src/mainboard/google/brya/variants/moli/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/moli/overridetree.cb b/src/mainboard/google/brya/variants/moli/overridetree.cb
new file mode 100644
index 0000000000..4f2c04a57a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/moli/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end