cros_bundle_firmware: Add support for BL parameter blocks
cros_bundle_firmware: Add support for BL parameter blocks

The BL2 (U-Boot SPL) has a parameter block which holds information about
memory and the like. This is needed in the SPL where we do not yet have
access to the device tree.

We pick out interestings values from the device tree and place them
into the parameter block to configure the BL2.

BUG=chromium-os:19724
TEST=manual:
PYTHONPATH="~/cosarm/src/platform/dev/host/lib" python
 ~/cosarm/src/platform/dev/host/cros_bundle_firmware -s -b daisy -I
 ~/u/board/samsung/dts --dt exynos5250-smdk5250.dts -I ~/u/arch/arm/dts
 -u ~/u/u-boot.bin --bl1 ~/cosarm/chroot/build/daisy/firmware/E5250.nbl1.bin
 --bl2 ~/u/spl/u-boot-spl.bin -O out -v2
See that the BL2 has been updated with parameters and we get the correct
display correct output about which parameters were written.

Change-Id: I2df9251eab50da98fa794ed51f02719278a28b40
Reviewed-on: https://gerrit.chromium.org/gerrit/18053
Commit-Ready: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>
Reviewed-by: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>
Tested-by: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>

mgireesh05/dev-util,coreos/dev-util,coreos/dev-util,coreos/dev-util,marineam/coreos-dev-util,mgireesh05/dev-util,mgireesh05/dev-util,marineam/coreos-dev-util