u-boot/common/spl
Philipp Tomsich d879616e9e spl: fit: simplify logic for FDT loading for non-OS boots
To better support bootin through an ATF or OPTEE, we need to
streamline some of the logic for when the FDT is appended to an image:
depending on the image type, we'd like to append the FDT not at all
(the case for the OS boot), to the 'firmware' image (if it is a
U-Boot) or to one of the loadables (if the 'firmware' is an ATF, an
OPTEE, or some other image-type and U-Boot is listed in the
loadabled).

To achieve this goal, we drop the os_boot flag and track the type of
image loaded.  If it is of type IH_OS_U_BOOT, we append the FDT.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: York Sun <york.sun@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-11-26 00:39:07 +01:00
..
Kconfig thermal: ti-bandgap: Add support for temperature sensor 2017-11-21 08:03:38 -05:00
Makefile spl: add serial download protocol (SDP) support 2017-08-23 10:41:58 +02:00
spl.c SPL: fix printing of image name 2017-11-16 19:10:25 -07:00
spl_atf.c spl: add support to booting with ATF 2017-05-15 10:38:09 -04:00
spl_bootrom.c spl: add a 'return to bootrom' boot method 2017-08-13 17:12:19 +02:00
spl_dfu.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
spl_ext.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
spl_fat.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
spl_fit.c spl: fit: simplify logic for FDT loading for non-OS boots 2017-11-26 00:39:07 +01:00
spl_mmc.c spl: spl_mmc: add __maybe_unused to mmc_load_image_raw_sector() 2017-09-29 11:23:45 +09:00
spl_nand.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_net.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
spl_nor.c spl: make image arg or fdt blob address reconfigurable 2017-05-08 11:38:40 -04:00
spl_onenand.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_ram.c spl: move RAM boot support in separate file 2017-01-14 16:46:26 -05:00
spl_sata.c dm: scsi: Document and rename the scsi_scan() parameter 2017-07-11 10:08:19 -06:00
spl_sdp.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
spl_spi.c spl: spi: override CONFIG_SYS_SPI_U_BOOT_OFFS via /config-property 2017-05-11 22:03:39 -04:00
spl_ubi.c spl: Make UBI fastmap support Kconfig selectable 2017-07-06 13:09:37 -04:00
spl_usb.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_xip.c stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
spl_ymodem.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00