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>
diff --git a/src/mainboard/amd/majolica/Kconfig b/src/mainboard/amd/majolica/Kconfig
index ce8a498..ef0aa20 100644
--- a/src/mainboard/amd/majolica/Kconfig
+++ b/src/mainboard/amd/majolica/Kconfig
@@ -10,6 +10,7 @@
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 0000000..90cf2eb
--- /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)
+ }
+}