8a3592eec3
We still add a master header for compatibility purposes, and the default layouts don't cover anything non-coreboot (eg. IFD regions) yet. The default layouts can be overridden by specifying an fmd file, from which the fmap is generated. Future work: - map IFD regions to fmap regions - non-x86: build minimalistic trampolines that jump into the first cbfs file, so the bootblock can be part of CBFS instead of reserving a whole 64K for it. - teach coreboot's cbfs code to work without the master header - teach coreboot's cbfs code to work on different fmap regions Change-Id: Id1085dcd5107cf0e02e8dc1e77dc0dd9497a819c Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/11692 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
18 lines
497 B
Text
18 lines
497 B
Text
# layout for firmware when flash address space matches used address layout
|
|
# +-------------+ <-- 0
|
|
# | unspecified |
|
|
# +-------------+ <-- BIOS_BASE
|
|
# | bootblock |
|
|
# +-------------+ <-- BIOS_BASE + 128K
|
|
# | FMAP |
|
|
# +-------------+ <-- BIOS_BASE + 128K + FMAP_SIZE
|
|
# | CBFS |
|
|
# +-------------+ <-- ROM_SIZE
|
|
|
|
FLASH@##ROM_BASE## ##ROM_SIZE## {
|
|
BIOS@##BIOS_BASE## ##BIOS_SIZE## {
|
|
BOOTBLOCK 128K
|
|
FMAP@##FMAP_BASE## ##FMAP_SIZE##
|
|
COREBOOT(CBFS)@##CBFS_BASE## ##CBFS_SIZE##
|
|
}
|
|
}
|