summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathew King <mathewk@chromium.org>2021-02-01 16:43:33 -0700
committerPatrick Georgi <pgeorgi@google.com>2021-02-04 09:54:04 +0000
commit9a2b5e0ca3ea861c9d5f1b27c2ba173f7c3f03a7 (patch)
treeb443480b5087344104291afcde759716f8d33c3d /src
parent21e2b5a0ce790b1f67c13a140b28635b3acf4a08 (diff)
mb/amd/majolica: add fmd for use when building chromeos
BUG=b:177909472 TEST=builds Change-Id: I5eb3c60fe60e4029485fae642c88c5c013ffb3f6 Signed-off-by: Mathew King <mathewk@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50208 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/amd/majolica/Kconfig1
-rw-r--r--src/mainboard/amd/majolica/chromeos.fmd14
2 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/amd/majolica/Kconfig b/src/mainboard/amd/majolica/Kconfig
index ce8a498263..ef0aa2048b 100644
--- a/src/mainboard/amd/majolica/Kconfig
+++ b/src/mainboard/amd/majolica/Kconfig
@@ -10,6 +10,7 @@ config BOARD_SPECIFIC_OPTIONS
config FMDFILE
string
+ default "src/mainboard/amd/majolica/chromeos.fmd" if CHROMEOS
default "src/mainboard/amd/majolica/board.fmd"
config MAINBOARD_DIR
diff --git a/src/mainboard/amd/majolica/chromeos.fmd b/src/mainboard/amd/majolica/chromeos.fmd
new file mode 100644
index 0000000000..90cf2eb879
--- /dev/null
+++ b/src/mainboard/amd/majolica/chromeos.fmd
@@ -0,0 +1,14 @@
+FLASH@0xFF000000 16M {
+ BIOS {
+ EC 128K
+ RW_MRC_CACHE 64K
+ RW_LEGACY(CBFS) 4K
+ FW_MAIN_A(CBFS) 1M
+ VBLOCK_A 8K
+ FW_MAIN_B(CBFS) 1M
+ VBLOCK_B 8K
+ SHARED_DATA 8K
+ FMAP 4K
+ COREBOOT(CBFS)
+ }
+}