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.

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

Change-Id: I61be27f681fed0e10017208dca17099ff6a69929
Tested-by: Hung-Te Lin <>
Reviewed-by: Jay Kim <>
Commit-Ready: Hung-Te Lin <>
2 files changed