cros_bundle_firmware: Allow SOC-specific USB download addresses

We need to support Exynos5250 and Exynos5420 but they have different
download address requirements. Use the device tree to detect the machine
type and look up the correct addresses.

Upstream U-Boot does not yet have a suitable compatible string, so for now
we must add a work-around to allow this to boot.

BUG=chromeos-partner:20501
BUG=chromium:257265
TEST=manual
FEATURES=test sudo -E emerge cros-devutils

Also:

crosfw -V -a "--bl1 ../E5420_usb_recovery_bl1.bin

which now works on pit rev3, downloading the image over USB.

Change-Id: I890afff756512dc0ca9122a38343510af3dcfe23
Signed-off-by: Simon Glass <[email protected]>
Reviewed-on: https://gerrit.chromium.org/gerrit/60959
Reviewed-by: Vadim Bendebury <[email protected]>
1 file changed