AMD platforms pass in the base address to cbfs tool: fspm.bin-options: -b $(CONFIG_FSP_M_ADDR) There is no technical reason not to allow FSP-M to be relocated when !XIP. By allowing this, we no longer need to pass in the base address into cbfstool when adding fspm.bin. This enables passing in the `--alignment` argument to cbfs tool instead. cbfstool currently has a check that prevents both `-b` and `-a` from being passed in. BUG=b:179699789 TEST=Boot guybrush to OS Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I797fb319333c53ad0bbf7340924f7d07dfc7de30 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58984 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
63 lines
1.4 KiB
Makefile
63 lines
1.4 KiB
Makefile
subdirs-y += storage
|
|
|
|
bootblock-y += mem_pool.c
|
|
verstage-y += mem_pool.c
|
|
romstage-y += mem_pool.c
|
|
ramstage-y += mem_pool.c
|
|
postcar-y += mem_pool.c
|
|
smm-y += mem_pool.c
|
|
|
|
bootblock-y += iobuf.c
|
|
verstage-y += iobuf.c
|
|
romstage-y += iobuf.c
|
|
ramstage-y += iobuf.c
|
|
smm-y += iobuf.c
|
|
postcar-y += iobuf.c
|
|
|
|
bootblock-y += region.c
|
|
verstage-y += region.c
|
|
romstage-y += region.c
|
|
ramstage-y += region.c
|
|
smm-y += region.c
|
|
postcar-y += region.c
|
|
|
|
ramstage-$(CONFIG_PLATFORM_USES_FSP1_1) += fsp_relocate.c
|
|
ifeq ($(CONFIG_FSP_M_XIP),)
|
|
romstage-$(CONFIG_PLATFORM_USES_FSP2_0) += fsp_relocate.c
|
|
endif
|
|
ramstage-$(CONFIG_PLATFORM_USES_FSP2_0) += fsp_relocate.c
|
|
|
|
bootblock-y += cbfs.c
|
|
verstage-y += cbfs.c
|
|
romstage-y += cbfs.c
|
|
ramstage-y += cbfs.c
|
|
smm-y += cbfs.c
|
|
postcar-y += cbfs.c
|
|
|
|
bootblock-y += bsd/cbfs_private.c
|
|
verstage-y += bsd/cbfs_private.c
|
|
romstage-y += bsd/cbfs_private.c
|
|
postcar-y += bsd/cbfs_private.c
|
|
ramstage-y += bsd/cbfs_private.c
|
|
smm-y += bsd/cbfs_private.c
|
|
|
|
bootblock-y += bsd/cbfs_mcache.c
|
|
verstage-y += bsd/cbfs_mcache.c
|
|
romstage-y += bsd/cbfs_mcache.c
|
|
postcar-y += bsd/cbfs_mcache.c
|
|
ramstage-y += bsd/cbfs_mcache.c
|
|
smm-y += bsd/cbfs_mcache.c
|
|
|
|
decompressor-y += bsd/lz4_wrapper.c
|
|
bootblock-y += bsd/lz4_wrapper.c
|
|
verstage-y += bsd/lz4_wrapper.c
|
|
romstage-y += bsd/lz4_wrapper.c
|
|
ramstage-y += bsd/lz4_wrapper.c
|
|
postcar-y += bsd/lz4_wrapper.c
|
|
|
|
ramstage-y += sort.c
|
|
|
|
romstage-y += bsd/elog.c
|
|
ramstage-y += bsd/elog.c
|
|
smm-y += bsd/elog.c
|