(factory-1235.B) 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.

Cherry-picked from: https://gerrit.chromium.org/gerrit/12100

TEST=./gooftool --finalize # pass on system without EC

Change-Id: I3137544817a255fd52cbc534f75a912d5d55f41d
Reviewed-on: https://gerrit.chromium.org/gerrit/12119
Tested-by: Hung-Te Lin <hungte@chromium.org>
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
2 files changed