]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/spl/Kconfig
spl: atf: add SPL_ATF_NO_PLATFORM_PARAM option
[people/ms/u-boot.git] / common / spl / Kconfig
index aef0034b33567983650e0e10a1d88142a1ae7f40..9d35f412336522162e659d6ac9953ad1861c9469 100644 (file)
@@ -721,10 +721,24 @@ config SPL_ATF
        bool "Support ARM Trusted Firmware"
        depends on ARM64
        help
-         ATF(ARM Trusted Firmware) is a component for ARM arch64 which
-         is loaded by SPL(which is considered as BL2 in ATF terminology).
+         ATF(ARM Trusted Firmware) is a component for ARM AArch64 which
+         is loaded by SPL (which is considered as BL2 in ATF terminology).
          More detail at: https://github.com/ARM-software/arm-trusted-firmware
 
+config SPL_ATF_NO_PLATFORM_PARAM
+        bool "Pass no platform parameter"
+       depends on SPL_ATF
+       help
+         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 parameter
+         validation to gracefully reject a FDT being passed.
+
+         If this option is enabled, the spl_atf os-type handler will
+         always pass NULL for the platform parameter.
+
+         If your ATF is affected, say Y.
+
 config TPL
        bool
        depends on SUPPORT_TPL