Fix fastboot boot address
authorPeter Chubb <Peter.Chubb@data61.csiro.au>
Thu, 8 Sep 2016 20:51:57 +0000 (20:51 +0000)
committerMarek Vasut <marex@denx.de>
Mon, 21 Aug 2017 09:31:10 +0000 (11:31 +0200)
commitd331084298002e5cc0a54abb5855be1fc69153c3
tree132ea8034b61c8e80f5f59bc3d7d4453d9e9c4d6
parenta11a5b8ad9d7bfd37e7abbbaecc536f86eabc2d2
Fix fastboot boot address

Fastboot loads an image at CONFIG_FASTBOOT_BUF_ADDR, but currently
tells do_bootm() to look for an image at $loadaddr.  This breaks if
CONFIG_FASTBOOT_BUF_ADDR is different from the current user-set
loadaddr.

Instead, tell do_bootm() to pick up the image where it was laoded.

Signed-off-by: Peter Chubb <peter.chubb@data61.csiro.au>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Steve Rae <steve.rae@raedomain.com>
drivers/usb/gadget/f_fastboot.c