saft: Skip checking EC is in RO or not when running CGPT state test

The 3rd element of a boot vector indicates EC is in RO or RW. In the CGPT
state test, we don't care about the EC state. So mark it wildcard (*) to
skip this check. And also use cmp_boot_vector() to compare instead of a
string comparison.

BUG=chromium-os:26953,chromium-os:32871
TEST=run FAFT firmware_CgptState on Link passed.

Change-Id: If69458a631c963fab51fce25d96b4ebc70c072ba
Reviewed-on: https://gerrit.chromium.org/gerrit/28576
Reviewed-by: Vic Yang <victoryang@chromium.org>
Commit-Ready: Tom Wai-Hong Tam <waihong@chromium.org>
Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
1 file changed