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>
20 lines
539 B
Text
20 lines
539 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##
|
|
##CONSOLE_ENTRY##
|
|
##MRC_CACHE_ENTRY##
|
|
COREBOOT(CBFS)@##CBFS_BASE## ##CBFS_SIZE##
|
|
}
|
|
}
|