summaryrefslogtreecommitdiff
path: root/src/security/vboot/bootmode.c
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2019-05-18 13:47:39 -0700
committerDuncan Laurie <dlaurie@chromium.org>2019-05-19 18:13:26 +0000
commitef179ab07b73ebe5b7dd33b260402d39daec678b (patch)
treef5b911f5a3a38bf2333bf33d08b47a8d4ce65a7a /src/security/vboot/bootmode.c
parentaa2157430f96c658b9629bf69d507f1f161078a7 (diff)
downloadcoreboot-ef179ab07b73ebe5b7dd33b260402d39daec678b.tar.xz
timestamp: Update TIMESTAMP_CACHE_IN_BSS to include ENV_POSTCAR
With CB:32726 ("lib/timestamp: Make timestamp_sync_cache_to_cbmem() in postcar") timestamps are synced from cache to cbmem in postcar as well. For postcar, the cache lives in BSS just like ramstage. This change updates TIMESTAMP_CACHE_IN_BSS to include both ramstage and postcar and uses this instead of ENV_RAMSTAGE to check for cache location. Ideally, it would be good to get rid of timestamp cache in postcar and ramstage completely since early cbmem init is enabled by default in coreboot and it is guaranteed that cbmem is recovered before timestamps are added in ramstage or postcar. This change is being pushed in as a temporary fix while I make the changes to remove timestamp cache from romstage and postcar completely. BUG=b:132939309 Change-Id: I2d82a96aba954df77c9386b7bd2e2ec0973881be Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32881 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'src/security/vboot/bootmode.c')
0 files changed, 0 insertions, 0 deletions