82aa8338c7
This automatically generates an FMAP region for the MRC_CACHE driver which is easier to handle than a cbfsfile. Adds some spaces and more comments to Makefile.inc to improve readability. Tested on Thinkpad x200 with some proof of concept patches. Change-Id: Iaaca36b1123b094ec1bbe5df4fb25660919173ca Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/23150 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@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## {
|
|
FMAP@##FMAP_BASE## ##FMAP_SIZE##
|
|
##CONSOLE_ENTRY##
|
|
##MRC_CACHE_ENTRY##
|
|
COREBOOT(CBFS)@##CBFS_BASE## ##CBFS_SIZE##
|
|
}
|
|
}
|