u-boot/common/spl
Philipp Tomsich d21fb63d77 spl: atf: add SPL_ATF_NO_PLATFORM_PARAM option
While we expect to call a pointer to a valid FDT (or NULL) as the
platform parameter to an ATF, some ATF versions are not U-Boot aware
and have an insufficiently robust (or an overzealour) parameter
validation: either way, this may cause a hard-stop with uncooperative
ATF versions.

This change adds the option to suppress passing a platform parameter
and will always pass NULL.

Debug output from ATF w/ this option disabled (i.e. default):
      INFO:    plat_param_from_bl2: 0x291450
Debug output from ATF w/ this option enabled:
      INFO:    plat_param_from_bl2: 0

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2018-01-03 14:26:57 +01:00
..
Kconfig spl: atf: add SPL_ATF_NO_PLATFORM_PARAM option 2018-01-03 14:26:57 +01:00
Makefile spl: rename config item SPL_ATF_SUPPORT to SPL_ATF 2017-11-26 00:39:07 +01:00
spl.c binman: Add binman symbol support to SPL 2017-12-12 19:53:45 -07:00
spl_atf.c spl: atf: add SPL_ATF_NO_PLATFORM_PARAM option 2018-01-03 14:26:57 +01: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: Add FIT data-position property support 2017-12-12 21:33:38 -05: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 binman: Add binman support to spl_ram.c 2017-12-12 19:53:45 -07: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