> 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 <[email protected]>
> Tested-by: Philipp Tomsich <[email protected]>
> Reviewed-by: Kever Yang <[email protected]>
> ---
> 
>  common/spl/Kconfig   | 18 ++++++++++++++++--
>  common/spl/spl_atf.c | 12 +++++++++++-
>  2 files changed, 27 insertions(+), 3 deletions(-)
> 

Applied to u-boot-rockchip, thanks!
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to