gooftool: fix EC/BIOS wpstatus in report

In http://codereview.chromium.org/6778007 the execution order of
write-protection status probing is changed to prevent EC issue,
however the text message is not changed.

This CL corrects the output message, and isolate the execution commands so that
we may disable checking of EC on ARM platforms in future.

BUG=chrome-os-partner:854
TEST=gooftool --finalize --db_path DBPATH --upload_method none
     flashrom -V | grep Found
     # the output is SPI(BIOS), not LPC(EC).
     reboot # success on Z*

Change-Id: Iebe80a84a36349d7dcac006fb6cbcba3932ce069

R=yjlou@chromium.org

Review URL: http://codereview.chromium.org/6793006
diff --git a/gft_report.py b/gft_report.py
index 0b100be..456ba89 100755
--- a/gft_report.py
+++ b/gft_report.py
@@ -205,10 +205,12 @@
       [(key, ', '.join(value)) for key, value in probed_components.items()])
 
   # Firmware write protection status
-  wp_status_message = (
-      'main: %s\nec: %s' %
-      (gft_common.SystemOutput('flashrom -p internal:bus=lpc --wp-status'),
-       gft_common.SystemOutput('flashrom -p internal:bus=spi --wp-status')))
+  ec_wp_status = gft_common.SystemOutput(
+      'flashrom -p internal:bus=lpc --wp-status')
+  bios_wp_status = gft_common.SystemOutput(
+      'flashrom -p internal:bus=spi --wp-status')
+
+  wp_status_message = 'main: %s\nec: %s' % (bios_wp_status, ec_wp_status)
   report['wp_status'] = wp_status_message.splitlines()
 
   # TODO(hungte) we may also add these data in future: