Descriptionfactory_test_tools: support write protection for ARM
The RO/RW layout is different for ARM/x86, so we must trust FMAP
to build the write protection layout.
BUG=chromium-os:12193
TEST=on x86, gft_wpfw.py bios # seeing rw|ro by FMAP
on x86, gft_wpfw.py ec # seeing ro|rw by FMAP
assuming ARM will contain correct FMAP so the behavior is correct.
gooftool --wpfw # success
gooftool --verify_hwid --db_path DB --wpfw --verbose # seeing wpfw avoids reading EC/BIOS firmware again
Change-Id: Idb015522f4c3922f476beb43763107be416aa45b
R=clchiou@chromium.org
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=529424b
Patch Set 1 #
Total comments: 3
Patch Set 2 : speed up finalization, by using cached bios/ec data #Patch Set 3 : fix by reviewer's comments #Messages
Total messages: 2 (0 generated)
|