Modify EC flashrom handler to corrupt all bytes

When testing EC firmware corruption, we also want to check EC firmware
update is working. Let's make the firmware corruption happens on all
bytes.

BUG=chrome-os-partner:10265
TEST=firmware_ECCorruptFwSigA passed.

Change-Id: I2f79bec785acf3af08346167c460cd66bad0ac9e
Reviewed-on: https://gerrit.chromium.org/gerrit/26397
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Commit-Ready: Vic Yang <victoryang@chromium.org>
Tested-by: Vic Yang <victoryang@chromium.org>
diff --git a/client/cros/faft_client.py b/client/cros/faft_client.py
index 343b3ac..c1f09bc 100644
--- a/client/cros/faft_client.py
+++ b/client/cros/faft_client.py
@@ -260,7 +260,7 @@
         """
         self._chromeos_interface.log('Corrupting EC signature %s' %
                                      section)
-        self._ec_handler.corrupt_firmware(section)
+        self._ec_handler.corrupt_firmware(section, corrupt_all=True)
 
 
     @allow_multiple_section_input
@@ -272,7 +272,7 @@
         """
         self._chromeos_interface.log('Corrupting EC body %s' %
                                      section)
-        self._ec_handler.corrupt_firmware_body(section)
+        self._ec_handler.corrupt_firmware_body(section, corrupt_all=True)
 
 
     @allow_multiple_section_input
@@ -284,7 +284,7 @@
         """
         self._chromeos_interface.log('Restoring EC signature %s' %
                                      section)
-        self._ec_handler.restore_firmware(section)
+        self._ec_handler.restore_firmware(section, restore_all=True)
 
 
     @allow_multiple_section_input
@@ -296,7 +296,7 @@
         """
         self._chromeos_interface.log('Restoring EC body %s' %
                                      section)
-        self._ec_handler.restore_firmware_body(section)
+        self._ec_handler.restore_firmware_body(section, restore_all=True)
 
 
     @allow_multiple_section_input