u-boot/drivers/fastboot
Neil Armstrong f402d268e8 fastboot: common: fix default fastboot_boot on 64-bit
When booting on a 64-bit system, the boot_addr_start buffer is not
large enough to contain a 64-bit number, thus leading to a crash
even if fastboot_buf_addr is valid, only the high part of the address
will be printed to boot_addr_start :

fastboot with fastboot_buf_addr = 0x0000000006000000:
  downloading of 92239872 bytes finished
  Booting kernel at 0x00000000...

  "Synchronous Abort" handler, esr 0x96000004
  elr: 00000000010561f4 lr : 0000000001056fac (reloc)
  <snip>
  x28: 000000007df2d38f x29: 000000007df2d1b0

  Resetting CPU ...

With this fix, boot_addr_start can have the full 64-bit address passed
to bootm.

Fixes: f73a7df984 ("net: fastboot: Merge AOSP UDP fastboot")
Cc: Simon Glass <sjg@chromium.org>
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Cc: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2019-03-16 13:29:43 +01:00
..
fb_command.c fastboot: Add support for 'oem format' command 2018-05-30 11:59:21 +02:00
fb_common.c fastboot: common: fix default fastboot_boot on 64-bit 2019-03-16 13:29:43 +01:00
fb_getvar.c net: fastboot: Merge AOSP UDP fastboot 2018-05-30 11:59:21 +02:00
fb_mmc.c net: fastboot: Merge AOSP UDP fastboot 2018-05-30 11:59:21 +02:00
fb_nand.c net: fastboot: Merge AOSP UDP fastboot 2018-05-30 11:59:21 +02:00
Kconfig Kconfig: sandbox: enable cmd_avb and dependencies 2018-10-07 13:34:19 -04:00
Makefile drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00