0b75679cbb
Put the FMAP FMAP region right above the coreboot CBFS region. The other regions like RW_MRC_CACHE and CONSOLE often have alignment requirements so it makes sense to put those on top. This also simplifies the code the generate the default fmap a little. Change-Id: I24fa6c89ecf85fb9002c0357f14aa970ee51b1df Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/30419 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
17 lines
494 B
Text
17 lines
494 B
Text
# layout for firmware residing at top of 4GB address space
|
|
# +-------------+ <-- 4GB - ROM_SIZE / start of flash
|
|
# | unspecified |
|
|
# +-------------+ <-- 4GB - BIOS_SIZE
|
|
# | FMAP |
|
|
# +-------------+ <-- 4GB - BIOS_SIZE + FMAP_SIZE
|
|
# | CBFS |
|
|
# +-------------+ <-- 4GB / end of flash
|
|
|
|
FLASH@##ROM_BASE## ##ROM_SIZE## {
|
|
BIOS@##BIOS_BASE## ##BIOS_SIZE## {
|
|
##CONSOLE_ENTRY##
|
|
##MRC_CACHE_ENTRY##
|
|
FMAP@##FMAP_BASE## ##FMAP_SIZE##
|
|
COREBOOT(CBFS)@##CBFS_BASE## ##CBFS_SIZE##
|
|
}
|
|
}
|