summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorIan Feng <ian_feng@compal.corp-partner.google.com>2024-10-15 15:39:02 +0800
committerSubrata Banik <subratabanik@google.com>2024-10-17 10:05:21 +0000
commitd15069ece2b4d41739d97f27257002578e8161ec (patch)
treebf1d75e32919568d7d85cef0ee27ffb731584080 /src/mainboard/google
parent2626bcf5f886e47f79e5e9f336492ceab680ff48 (diff)
mb/google/fatcat: Create francka variant
Create the francka variant of the fatcat reference board. BUG=b:370666276 TEST=util/abuild/abuild -p none -t google/fatcat -x -a make sure the build includes GOOGLE_FRANCKA Change-Id: I372f445f7007d0d33020545a8febbce27c260e41 Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84769 Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Reviewed-by: Amanda Hwang <amanda_hwang@compal.corp-partner.google.com> Reviewed-by: Pranava Y N <pranavayn@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/fatcat/Kconfig4
-rw-r--r--src/mainboard/google/fatcat/Kconfig.name3
-rw-r--r--src/mainboard/google/fatcat/variants/francka/include/variant/ec.h8
-rw-r--r--src/mainboard/google/fatcat/variants/francka/include/variant/gpio.h8
-rw-r--r--src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk6
-rw-r--r--src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt6
-rw-r--r--src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt11
-rw-r--r--src/mainboard/google/fatcat/variants/francka/overridetree.cb5
8 files changed, 51 insertions, 0 deletions
diff --git a/src/mainboard/google/fatcat/Kconfig b/src/mainboard/google/fatcat/Kconfig
index 6d3f4959c7..f47e5a518d 100644
--- a/src/mainboard/google/fatcat/Kconfig
+++ b/src/mainboard/google/fatcat/Kconfig
@@ -65,6 +65,9 @@ config BOARD_GOOGLE_FATCATNUVO
config BOARD_GOOGLE_FATCATITE
select BOARD_GOOGLE_MODEL_FATCAT
+config BOARD_GOOGLE_FRANCKA
+ select BOARD_GOOGLE_MODEL_FATCAT
+
if BOARD_GOOGLE_FATCAT_COMMON
config BASEBOARD_DIR
@@ -118,6 +121,7 @@ config MAINBOARD_PART_NUMBER
default "Fatcat" if BOARD_GOOGLE_FATCAT
default "Fatcatite" if BOARD_GOOGLE_FATCATITE
default "Fatcatnuvo" if BOARD_GOOGLE_FATCATNUVO
+ default "Francka" if BOARD_GOOGLE_FRANCKA
config MEMORY_SOLDERDOWN
def_bool n
diff --git a/src/mainboard/google/fatcat/Kconfig.name b/src/mainboard/google/fatcat/Kconfig.name
index 60384128a0..2782d9bf8c 100644
--- a/src/mainboard/google/fatcat/Kconfig.name
+++ b/src/mainboard/google/fatcat/Kconfig.name
@@ -10,3 +10,6 @@ config BOARD_GOOGLE_FATCATITE
config BOARD_GOOGLE_FATCATNUVO
bool "-> Fatcatnuvo"
+
+config BOARD_GOOGLE_FRANCKA
+ bool "-> Francka"
diff --git a/src/mainboard/google/fatcat/variants/francka/include/variant/ec.h b/src/mainboard/google/fatcat/variants/francka/include/variant/ec.h
new file mode 100644
index 0000000000..4fc0622f15
--- /dev/null
+++ b/src/mainboard/google/fatcat/variants/francka/include/variant/ec.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef MAINBOARD_EC_H
+#define MAINBOARD_EC_H
+
+#include <baseboard/ec.h>
+
+#endif /* MAINBOARD_GPIO_H */
diff --git a/src/mainboard/google/fatcat/variants/francka/include/variant/gpio.h b/src/mainboard/google/fatcat/variants/francka/include/variant/gpio.h
new file mode 100644
index 0000000000..27c87b3fe7
--- /dev/null
+++ b/src/mainboard/google/fatcat/variants/francka/include/variant/gpio.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __MAINBOARD_GPIO_H__
+#define __MAINBOARD_GPIO_H__
+
+#include <baseboard/gpio.h>
+
+#endif /* __MAINBOARD_GPIO_H__ */
diff --git a/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk b/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk
new file mode 100644
index 0000000000..5e16e25b7a
--- /dev/null
+++ b/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# This is an auto-generated file. Do not edit!!
+# Generated by:
+# ./util/spd_tools/bin/part_id_gen PTL lp5 src/mainboard/google/fatcat/variants/fatcat/memory src/mainboard/google/fatcat/variants/fatcat/memory/mem_parts_used.txt
+
+SPD_SOURCES = placeholder
diff --git a/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt b/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..cc0bdf1877
--- /dev/null
+++ b/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# This is an auto-generated file. Do not edit!!
+# Generated by:
+# ./util/spd_tools/bin/part_id_gen PTL lp5 src/mainboard/google/fatcat/variants/fatcat/memory src/mainboard/google/fatcat/variants/fatcat/memory/mem_parts_used.txt
+
+DRAM Part Name ID to assign
diff --git a/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt b/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..2499005682
--- /dev/null
+++ b/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
@@ -0,0 +1,11 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# One part per line with an optional fixed ID in column 2.
+# Only include a fixed ID if it is required for legacy reasons!
+# Generated IDs are dependent on the order of parts in this file,
+# so new parts must always be added at the end of the file!
+#
+# Generate an updated Makefile.mk and dram_id.generated.txt by running the
+# part_id_gen tool from util/spd_tools.
+# See util/spd_tools/README.md for more details and instructions.
+
+# Part Name
diff --git a/src/mainboard/google/fatcat/variants/francka/overridetree.cb b/src/mainboard/google/fatcat/variants/francka/overridetree.cb
new file mode 100644
index 0000000000..bfd637ae50
--- /dev/null
+++ b/src/mainboard/google/fatcat/variants/francka/overridetree.cb
@@ -0,0 +1,5 @@
+chip soc/intel/pantherlake
+
+ device domain 0 on
+ end
+end