diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2015-09-19 13:59:36 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-09-21 16:04:22 +0000 |
commit | b946f12ed0c4a4177b64c032f17dd5b3fd2a0c99 (patch) | |
tree | dc203662496adc2277079b789ee35b6532ed918f /src/mainboard/iwill | |
parent | 59e52b975e3ffe29709f82e57849ccf8254b9cd1 (diff) | |
download | coreboot-b946f12ed0c4a4177b64c032f17dd5b3fd2a0c99.tar.xz |
cbfstool: make fmap search more strict
Since fmap doesn't come with a checksum, we resort to a number of
heuristics to determine if a given location hosts an fmap (instead of
another data structure that happens to store the fmap magic string at
the right location).
The version test is particularly effective against strings containing
the magic (which either terminate with 0, or have some other ASCII data,
but rarely a '\001' byte inside the string).
Change-Id: Ic66eb0015c7ffdfe25e0054b7838445b8ba098e9
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/11690
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/iwill')
0 files changed, 0 insertions, 0 deletions