UPSTREAM: soc/intel/apollolake: Relocate FSP-M during insertion in CBFS
Since FSP-M is run in CAR (as opposed to XIP), its default link address may need to be changed. Since cbfstool can relocate FSP blobs, take advantage of that feature. BUG=None BRANCH=None TEST=None Change-Id: I4353fe09d785c090843ce25ff4e654d45c64c381 Original-Signed-off-by: Andrey Petrov <andrey.petrov@intel.com> Original-Reviewed-on: https://review.coreboot.org/14866 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/346984 Commit-Ready: Martin Roth <martinroth@chromium.org> Tested-by: Martin Roth <martinroth@chromium.org> Reviewed-by: Martin Roth <martinroth@chromium.org>
This commit is contained in:
parent
c64dddf30b
commit
cee4ff5aa4
2 changed files with 9 additions and 0 deletions
|
|
@ -124,4 +124,10 @@ config CACHE_MRC_SETTINGS
|
|||
bool
|
||||
default y
|
||||
|
||||
config FSP_M_ADDR
|
||||
hex
|
||||
default 0xfef60000
|
||||
help
|
||||
The address FSP-M will be relocated to during build time
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -60,4 +60,7 @@ postcar-y += tsc_freq.c
|
|||
|
||||
CPPFLAGS_common += -I$(src)/soc/intel/apollolake/include
|
||||
|
||||
# Since FSP-M runs in CAR we need to relocate it to a specific address
|
||||
$(CONFIG_FSP_M_CBFS)-options := -b $(CONFIG_FSP_M_ADDR)
|
||||
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue