Add --leave_firmware_alone flag for BIOS testing purposes.

BUG=chromium-os:13100
TEST=none (BIOS team will test by using it)

Change-Id: Ifedeac1a0d13d36a069531bfaba4bdb7b3457406

Review URL: http://codereview.chromium.org/6696013
(cherry picked from commit 192d7e14f6f0991ff1ca53180ad69136fd04570d)

R=puneetster@chromium.org

Review URL: http://codereview.chromium.org/6665059
diff --git a/scripts/image_signing/tag_image.sh b/scripts/image_signing/tag_image.sh
index 27a3764..8ef7ff4 100755
--- a/scripts/image_signing/tag_image.sh
+++ b/scripts/image_signing/tag_image.sh
@@ -18,6 +18,8 @@
   "(build-info) Tag as a developer mode build (1 to enable, 0 to disable)"
 DEFINE_string update_firmware "" \
   "(auto-update) Force updating firmware (1 to enable, 0 to disable)"
+DEFINE_string leave_firmware_alone "" \
+  "(auto-update) For BIOS development use ONLY (1 to enable, 0 to disable)"
 DEFINE_string forget_usernames "" \
   "(session-manager) Forget usernames (1 to enable, 0 to disable)"
 DEFINE_string leave_core "" \
@@ -142,6 +144,12 @@
     "${FLAGS_update_firmware}"
 
   process_tag "${do_modification}" \
+    "(auto-update) leave_firmware_alone" \
+    "${rootfs}" \
+    /root/.leave_firmware_alone \
+    "${FLAGS_leave_firmware_alone}"
+
+  process_tag "${do_modification}" \
     "(session-manager) forget_usernames" \
     "${rootfs}" \
     /root/.forget_usernames \