gooftool: support configuration without EC for wpfw and report commands.

Devices without EC still need to pass finalization command (including wpfw and
report).  We support that by checking hwcomp.has_ec_flash() and always include
results in report.

BUG=chrome-os-partner:6949
TEST=./gooftool --finalize # pass on system without EC

Change-Id: I61be27f681fed0e10017208dca17099ff6a69929
Reviewed-on: https://gerrit.chromium.org/gerrit/12100
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Jay Kim <yongjaek@chromium.org>
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
2 files changed