Speed up only reading FMAP area on firmware_FMap test
As we only need the FMAP area, only reading the FMAP saves time over reading
the whole flash. It reduces the test time ~10s (2 reads).
$ time flashrom -r /tmp/bios
real 0m5.676s
user 0m5.489s
sys 0m0.175s
$ time flashrom -r /tmp/bios -i FMAP
real 0m0.994s
user 0m0.777s
sys 0m0.190s
BUG=chromium-os:37925
TEST=run_remote_tests.sh --board link --remote $DUT firmware_FMap
Change-Id: Iea75e5e3a9f7d675e3a4f8e3b5f3971b9a4cda98
Reviewed-on: https://gerrit.chromium.org/gerrit/41795
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Tom Wai-Hong Tam <waihong@chromium.org>
Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
1 file changed