cros_bundle_firmware: Support an empty boot command

It is useful to pass an option to provide an empty boot command to U-Boot,
like:

 --bootcmd none

Handle this as a special case.

BUG=none
TEST=manual
On snow with USB A-A connected:
(cros) $ cros_bundle_firmware -b daisy -d exynos5250-now --bootcmd none -w usb

See that it boots U-Boot and does not display the 'Unknown command' error
below:

Hit any key to stop autoboot:  0
Unknown command '' - try 'help'

Change-Id: I3ab93a43a6fb9b4912c413d6c4a79a27bcda662c
Reviewed-on: https://gerrit.chromium.org/gerrit/33648
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Ready: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
diff --git a/host/lib/bundle_firmware.py b/host/lib/bundle_firmware.py
index 323fae2..ee094ce 100644
--- a/host/lib/bundle_firmware.py
+++ b/host/lib/bundle_firmware.py
@@ -319,7 +319,9 @@
       bootcmd: Boot command to use, as a string (if None this this is a nop).
       bootsecure: We'll set '/config/bootsecure' to 1 if True and 0 if False.
     """
-    if bootcmd:
+    if bootcmd is not None:
+      if bootcmd == 'none':
+        bootcmd = ''
       self.fdt.PutString('/config', 'bootcmd', bootcmd)
       self.fdt.PutInteger('/config', 'bootsecure', int(bootsecure))
       self._out.Info('Boot command: %s' % bootcmd)