soc/intel/apollolake: Avoid hardcoding CAR region size for FSPM

Instead of having to supply CAR memory region during compilation
time it is possible to determine it in runtime. FSP2.0 blobs carry
a copy of UPD structure pre-populated with 'default' values. The
default value for StackSize is actually the real value blob needs.

Change-Id: I298e07bb12470ce659f63846ab096189138e594f
Signed-off-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-on: https://review.coreboot.org/14001
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Andrey Petrov
2016-03-08 21:59:01 -08:00
committed by Martin Roth
parent 468dc33325
commit 7109304cf2
2 changed files with 8 additions and 10 deletions

View File

@@ -98,10 +98,4 @@ config ROMSTAGE_ADDR
help
The base address (in CAR) where romstage should be linked
config FSPM_STACK_SIZE
hex
default 0x40000
help
The amount of CAR memory FSPM needs. Recommended at least 256KiB
endif