mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| spl.c | ||
| spl_atf.c | ||
| spl_bootrom.c | ||
| spl_dfu.c | ||
| spl_ext.c | ||
| spl_fat.c | ||
| spl_fit.c | ||
| spl_mmc.c | ||
| spl_nand.c | ||
| spl_net.c | ||
| spl_nor.c | ||
| spl_onenand.c | ||
| spl_ram.c | ||
| spl_sata.c | ||
| spl_sdp.c | ||
| spl_spi.c | ||
| spl_ubi.c | ||
| spl_usb.c | ||
| spl_xip.c | ||
| spl_ymodem.c | ||