Implement a test to verify BIOS and EC FMap
This test checks the active BIOS and EC firmware contains the required
FMap areas and verifies their hierarchies. It relies on flashrom to dump
the active BIOS and EC firmware and dump_fmap to decode them.
BUG=chromium-os:37925
TEST=run_remote_tests.sh --board link --remote $DUT firmware_FMap
TEST=python -m doctest -m ../../../common.py -v firmware_FMap.py
Change-Id: I96e3e92011ee2c66692103b859b29da62185f0f6
Reviewed-on: https://gerrit.chromium.org/gerrit/41707
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>
2 files changed