fmap.c: Replace fmap_find_in_memory() with fmap_lsearch()
Bring in fmap_lsearch() from upstream and modify
fmap_find_in_memory to wrap a call to it while maintaing
the same behaviour.
BUG=b:162047014,b:156835955
BRANCH=none
TEST=builds
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Change-Id: I984d1553984ce72af61c0c4af9819ab25dc511d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2315573
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
Commit-Queue: Edward O'Callaghan <quasisec@chromium.org>
Auto-Submit: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
1 file changed