summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rauru/chromeos.fmd
diff options
context:
space:
mode:
authorJarried Lin <jarried.lin@mediatek.corp-partner.google.com>2023-12-28 12:08:03 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-07-23 13:46:12 +0000
commit3200976c1e5d7385d51d01a71573a259272a88a3 (patch)
tree74cc8f347f8f903546f8334a4eadee4ee2bc3001 /src/mainboard/google/rauru/chromeos.fmd
parent8cb9641eca5d24048bf9e9a5a4707cae1e26d366 (diff)
mb/google/rauru: Add MediaTek MT8196 reference board
Add mainboard folder and drivers for new reference board 'Rauru'. TEST=saw the coreboot uart log to bootblock BUG=b:317009620 Signed-off-by: Jarried Lin <jarried.lin@mediatek.corp-partner.google.com> Change-Id: I789b622dcda999635f7aa2ce40adea6db28afa0e Reviewed-on: https://review.coreboot.org/c/coreboot/+/83573 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rauru/chromeos.fmd')
-rw-r--r--src/mainboard/google/rauru/chromeos.fmd46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/mainboard/google/rauru/chromeos.fmd b/src/mainboard/google/rauru/chromeos.fmd
new file mode 100644
index 0000000000..5b2234d39e
--- /dev/null
+++ b/src/mainboard/google/rauru/chromeos.fmd
@@ -0,0 +1,46 @@
+# Firmware Layout Description for ChromeOS.
+#
+# The size and address of every section must be aligned to at least 4K, except:
+# RO_FRID, RW_FWID*, GBB, or any unused / padding / CBFS type sections.
+#
+# 'FMAP' may be found by binary search so its starting address should be better
+# aligned to larger values.
+#
+# For sections to be preserved on update, add (PRESERVE) to individual sections
+# instead of a group section; otherwise the preserved data may be wrong if you
+# resize or reorder sections inside a group.
+
+FLASH@0x0 8M {
+ WP_RO@0x0 4M {
+ RO_SECTION {
+ BOOTBLOCK 128K
+ FMAP 4K
+ COREBOOT(CBFS)
+ GBB 0x2f00
+ RO_FRID 0x100
+ }
+ RO_GSCVD 8K
+ RO_VPD(PRESERVE) 32K # At least 16K.
+ }
+ RW_SECTION_A 1500K {
+ VBLOCK_A 8K
+ FW_MAIN_A(CBFS)
+ RW_FWID_A 0x100
+ }
+ RW_MISC 36K {
+ RW_VPD(PRESERVE) 16K # At least 8K.
+ RW_NVRAM(PRESERVE) 8K
+ RW_MRC_CACHE(PRESERVE) 8K
+ RW_ELOG(PRESERVE) 4K # ELOG driver hard-coded size in 4K.
+ }
+ RW_SECTION_B 1500K {
+ VBLOCK_B 8K
+ FW_MAIN_B(CBFS)
+ RW_FWID_B 0x100
+ }
+ RW_SHARED 36K { # Will be force updated on recovery.
+ SHARED_DATA 4K # 4K or less for netboot params.
+ RW_UNUSED
+ }
+ RW_LEGACY(CBFS) 1M # Minimal 1M.
+}