cros_bundle_firmware: Pass in the U-Boot size param directly

Rather than passing the PackFirmware object around, and since we only
need a single value from it, get this value out at the higher level, and
pass just the value down as a parameter.

Export the ConfigureExynosBl2 function for use by others, now that it
doesn't need a PackFirmware object.

BUG=chromium-os:28394
TEST=manual:
cros_bundle_firmware -b daisy -w usb -B spi
See that it now downloads and runs the BL2 correctly

Change-Id: I2343ce6c61c3da8b5617c5985564a4afc371be06
Reviewed-on: https://gerrit.chromium.org/gerrit/23403
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Ready: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
1 file changed