u-boot/common/spl
Stefan Agner 34ee947ac3 spl: add RAM boot device only if it is actually defined
Some devices (e.g. dra7xx) support loading to RAM using DFU without
having direct boot from RAM support. Make sure the linker list
does not contain BOOT_DEVICE_RAM if CONFIG_SPL_RAM_DEVICE is not
enabled.

Fixes: 98136b2f26 ("spl: Convert spl_ram_load_image() to use linker list")

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
2016-11-28 19:49:49 -05:00
..
Kconfig spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig 2016-11-18 21:20:58 -05:00
Makefile spl: spi: Move the generic SPI loader into common/spl 2016-10-06 15:07:33 -04:00
spl.c spl: add RAM boot device only if it is actually defined 2016-11-28 19:49:49 -05:00
spl_dfu.c spl: dfu: adding dfu support functions for SPL-DFU 2016-09-27 23:30:19 +02:00
spl_ext.c ext4: Allow reading files with non-zero offset, clamp read len 2016-11-21 14:07:27 -05:00
spl_fat.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl_fit.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl_mmc.c spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig 2016-11-18 21:20:58 -05:00
spl_nand.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl_net.c spl: Pass spl_image as a parameter to load_image() methods 2016-10-06 15:08:52 -04:00
spl_nor.c spl: Pass spl_image as a parameter to load_image() methods 2016-10-06 15:08:52 -04:00
spl_onenand.c spl: Pass spl_image as a parameter to load_image() methods 2016-10-06 15:08:52 -04:00
spl_sata.c spl: Update fat functions to take an spl_image parameter 2016-10-06 15:08:53 -04:00
spl_spi.c spl: add check for FIT-header when loading image 2016-11-28 15:10:31 -05:00
spl_ubi.c spl: Pass spl_image as a parameter to load_image() methods 2016-10-06 15:08:52 -04:00
spl_usb.c spl: Update fat functions to take an spl_image parameter 2016-10-06 15:08:53 -04:00
spl_ymodem.c spl: remove redundant call to parse_image_header() 2016-11-28 15:10:31 -05:00