summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-sbsa/flash.fmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/qemu-sbsa/flash.fmd')
-rw-r--r--src/mainboard/emulation/qemu-sbsa/flash.fmd23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-sbsa/flash.fmd b/src/mainboard/emulation/qemu-sbsa/flash.fmd
new file mode 100644
index 0000000000..fcc6e19a99
--- /dev/null
+++ b/src/mainboard/emulation/qemu-sbsa/flash.fmd
@@ -0,0 +1,23 @@
+#
+# custom fmap which takes the additional TF-A region into account
+#
+# +-------------+ <-- 0x0
+# | TF-A |
+# +-------------+ <-- BIOS_BASE
+# | bootblock |
+# +-------------+ <-- BIOS_BASE + 128K
+# | FMAP |
+# +-------------+ <-- BIOS_BASE + 128K + FMAP_SIZE
+# | CBFS |
+# +-------------+ <-- ROM_SIZE
+#
+
+FLASH@0x10000000 CONFIG_ROM_SIZE {
+
+ BIOS {
+
+ BOOTBLOCK 128K
+ FMAP 0x200
+ COREBOOT(CBFS)
+ }
+}