cros_bundle_firmware: Move firmware writing into write_firmware.py

This function should not be in cros_bundle_firmware - we move it into the
correct place so that it can be used with cros_write_firmware also.

BUG=chromium-os:17298
TEST=run cros_bundle_firmware -w and see that it still works

Change-Id: If1ab0c7ad1bc9f7bc424ba072c574a8ca8df1356
Reviewed-on: http://gerrit.chromium.org/gerrit/5591
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2 files changed