lib/fmap: Disable pre-RAM cache for FSP 1.0
Due to the way CAR teardown is handled in FSP 1.0, the results of car_get_var_ptr() aren't always reliable, which can break things when running with FMAP cache. It might be possible to fix this but would make the code rather complicated, so let's just disable the feature on these platforms and hope they die out soon. Also allow this option to be used by platforms that don't have space for the cache and want to save a little more code. Change-Id: I7ffb1b8b08a7ca3fe8d53dc827e2c8521da064c7 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36937 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
ceb7e68c48
commit
7fc928656e
@@ -15,6 +15,7 @@ config PLATFORM_USES_FSP1_0
|
||||
bool
|
||||
default n
|
||||
select CAR_GLOBAL_MIGRATION
|
||||
select NO_FMAP_CACHE # doesn't work with CAR_GLOBAL restrictions
|
||||
help
|
||||
Selected for Intel processors/platform combinations that use the
|
||||
Intel Firmware Support Package (FSP) 1.0 for initialization.
|
||||
|
Reference in New Issue
Block a user