summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorJulia Tsai <julia.tsai@lcfc.corp-partner.google.com>2020-07-31 14:35:03 +0800
committerFurquan Shaikh <furquan@google.com>2020-08-12 06:40:54 +0000
commit1d68d6d14d4c9f6e414845335bb6a8493a6d5d62 (patch)
tree3125645f5a35a02e3d8c928e1274476400c8f1a9 /src/mainboard/google
parent41934bfe943243491d41fae1f9ff236351822a73 (diff)
downloadcoreboot-1d68d6d14d4c9f6e414845335bb6a8493a6d5d62.tar.xz
volteer: Create lindar variant
Create the lindar variant of the volteer reference board by copying the template files to a new directory named for the variant. (Auto-Generated by create_coreboot_variant.sh version 4.1.2). BUG=b:161089195 BRANCH=None TEST=util/abuild/abuild -p none -t google/volteer -x -a make sure the build includes GOOGLE_LINDAR Signed-off-by: Julia Tsai <julia.tsai@lcfc.corp-partner.google.com> Change-Id: I08923cde932b7304bcb01cd747530c87949e4692 Reviewed-on: https://review.coreboot.org/c/coreboot/+/44074 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Zhuohao Lee <zhuohao@google.com> Reviewed-by: Caveh Jalali <caveh@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/volteer/Kconfig2
-rw-r--r--src/mainboard/google/volteer/Kconfig.name5
-rw-r--r--src/mainboard/google/volteer/variants/lindar/include/variant/ec.h8
-rw-r--r--src/mainboard/google/volteer/variants/lindar/include/variant/gpio.h15
-rw-r--r--src/mainboard/google/volteer/variants/lindar/overridetree.cb6
5 files changed, 36 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig
index 82edb82f0d..baa71cb95a 100644
--- a/src/mainboard/google/volteer/Kconfig
+++ b/src/mainboard/google/volteer/Kconfig
@@ -71,6 +71,7 @@ config MAINBOARD_PART_NUMBER
default "Delbin" if BOARD_GOOGLE_DELBIN
default "Eldrid" if BOARD_GOOGLE_ELDRID
default "Halvor" if BOARD_GOOGLE_HALVOR
+ default "Lindar" if BOARD_GOOGLE_LINDAR
default "Malefor" if BOARD_GOOGLE_MALEFOR
default "Terrador" if BOARD_GOOGLE_TERRADOR
default "Todor" if BOARD_GOOGLE_TODOR
@@ -106,6 +107,7 @@ config VARIANT_DIR
default "delbin" if BOARD_GOOGLE_DELBIN
default "eldrid" if BOARD_GOOGLE_ELDRID
default "halvor" if BOARD_GOOGLE_HALVOR
+ default "lindar" if BOARD_GOOGLE_LINDAR
default "malefor" if BOARD_GOOGLE_MALEFOR
default "terrador" if BOARD_GOOGLE_TERRADOR
default "todor" if BOARD_GOOGLE_TODOR
diff --git a/src/mainboard/google/volteer/Kconfig.name b/src/mainboard/google/volteer/Kconfig.name
index f88f63ebf9..1d9a3dbc51 100644
--- a/src/mainboard/google/volteer/Kconfig.name
+++ b/src/mainboard/google/volteer/Kconfig.name
@@ -14,6 +14,11 @@ config BOARD_GOOGLE_HALVOR
select BOARD_GOOGLE_BASEBOARD_VOLTEER
select SOC_INTEL_CSE_LITE_SKU
+config BOARD_GOOGLE_LINDAR
+ bool "-> Lindar"
+ select BOARD_GOOGLE_BASEBOARD_VOLTEER
+ select SOC_INTEL_CSE_LITE_SKU
+
config BOARD_GOOGLE_MALEFOR
bool "-> Malefor"
select BOARD_GOOGLE_BASEBOARD_VOLTEER
diff --git a/src/mainboard/google/volteer/variants/lindar/include/variant/ec.h b/src/mainboard/google/volteer/variants/lindar/include/variant/ec.h
new file mode 100644
index 0000000000..7a2a6ff8b7
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/lindar/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/volteer/variants/lindar/include/variant/gpio.h b/src/mainboard/google/volteer/variants/lindar/include/variant/gpio.h
new file mode 100644
index 0000000000..b5fa8c5485
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/lindar/include/variant/gpio.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef VARIANT_GPIO_H
+#define VARIANT_GPIO_H
+
+#include <baseboard/gpio.h>
+
+/* Memory configuration board straps */
+/* Copied from baseboard and may need to change for the new variant. */
+#define GPIO_MEM_CONFIG_0 GPP_C12
+#define GPIO_MEM_CONFIG_1 GPP_C15
+#define GPIO_MEM_CONFIG_2 GPP_C14
+#define GPIO_MEM_CONFIG_3 GPP_D15
+
+#endif
diff --git a/src/mainboard/google/volteer/variants/lindar/overridetree.cb b/src/mainboard/google/volteer/variants/lindar/overridetree.cb
new file mode 100644
index 0000000000..32204c58e7
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/lindar/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/tigerlake
+
+ device domain 0 on
+ end
+
+end