2 ## Compute the location and size of where this firmware image
3 ## (coreboot plus bootloader) will live in the boot rom chip.
5 if CONFIG_USE_FALLBACK_IMAGE
6 default CONFIG_ROM_SECTION_SIZE = CONFIG_FALLBACK_SIZE
7 default CONFIG_ROM_SECTION_OFFSET = ( CONFIG_ROM_SIZE - CONFIG_FALLBACK_SIZE )
9 default CONFIG_ROM_SECTION_SIZE = CONFIG_FALLBACK_SIZE
10 default CONFIG_ROM_SECTION_OFFSET = ( CONFIG_ROM_SIZE - CONFIG_FALLBACK_SIZE - CONFIG_FALLBACK_SIZE )
14 ## Compute where this copy of coreboot will start in the boot rom
16 default CONFIG_ROMBASE = (0xffffffff - CONFIG_ROM_SIZE + CONFIG_ROM_SECTION_OFFSET + 1)
19 ## Compute a range of ROM that can cached to speed up coreboot,
22 ## CONFIG_XIP_ROM_SIZE must be a power of 2 and is set in mainboard Config.lb
23 ## CONFIG_XIP_ROM_BASE must be a multiple of CONFIG_XIP_ROM_SIZE
25 default CONFIG_XIP_ROM_BASE = ( CONFIG_ROMBASE - CONFIG_XIP_ROM_SIZE + CONFIG_ROM_IMAGE_SIZE )