Disable serial console output.

Because enabling the serial output would make DUT overheat in run-in
thermal test, we disable it to resolve it.

BUG=none
TEST=run run-in test in Arkham device

Change-Id: I425309e4534e891b2b8e0dafc33cde0d95477935
Reviewed-on: https://chromium-review.googlesource.com/300856
Reviewed-by: Chih-Yu Huang <akahuang@chromium.org>
Commit-Queue: Chih-Yu Huang <akahuang@chromium.org>
Tested-by: Chih-Yu Huang <akahuang@chromium.org>
diff --git a/build_library/test_image_util.sh b/build_library/test_image_util.sh
index 04348e9..2bb2c7a 100755
--- a/build_library/test_image_util.sh
+++ b/build_library/test_image_util.sh
@@ -34,10 +34,6 @@
     BOARD_ROOT="${BOARD_ROOT}" \
     "${mod_test_script}"
 
-  # Enable serial if not specified.
-  local enable_serial="${FLAGS_enable_serial}"
-  [ -n "${enable_serial}" ] || enable_serial="ttyMSM0"
-
   # Legacy parameter (used by mod_image_for_test.sh --factory)
   [ -n "${FLAGS_factory}" ] || FLAGS_factory=${FLAGS_FALSE}
 
@@ -65,7 +61,6 @@
     if should_build_image ${image_name}; then
       "${SCRIPTS_DIR}/bin/cros_make_image_bootable" "${BUILD_DIR}" ${image_name} \
         --force_developer_mode \
-        --enable_serial="${enable_serial}" \
         --boot_args="${FLAGS_boot_args} lsm.module_locking=0"
     fi
   fi