diff options
author | Julius Werner <jwerner@chromium.org> | 2023-11-06 16:51:27 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2023-11-07 22:29:55 +0000 |
commit | 5bc5b1d02486acd7572d62b519642706b2872a37 (patch) | |
tree | 8778081f08514103e637b1ab7afc2b21d3c6f430 /src/mainboard/system76/tgl-h/devicetree.cb | |
parent | f9764707463ebc05015ede4e34665648bf741b7d (diff) |
fmap: Map full FMAP for verification in fallback path
The rarely-used fallback path for accessing the FMAP without a cache
currently only maps the FMAP header for the initial verify_fmap() call.
This used to be fine when we were just checking the magic number, but
with CBFS verification we may need to hash the entire FMAP.
Since this path is so rarely used anyway and the size difference only
has a practical impact on a few platforms, lets keep things simple and
just always map the whole FMAP.
Change-Id: Ie780a3662bf89637de93a36ce6e23f77fed86265
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78914
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/system76/tgl-h/devicetree.cb')
0 files changed, 0 insertions, 0 deletions