Commit 89191abb authored by Andre Przywara's avatar Andre Przywara Committed by Jason Liu
Browse files

Kconfig: fix SPL_FIT dependency



SPL_FIT obviously requires libfdt in SPL, so let Kconfig express that by
selecting SPL_OF_LIBFDT.
Also make the actual options that users want (SPL signature and SPL FIT
loading) visible in the menu and let them select the SPL_FIT as a
requirement.
Also remove the now redundant SPL_OF_LIBFDT from those Kconfigs that had
it in for the SPL FIT loading feature.
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
[Remove change from configs/evb-rk3399_defconfig]
Signed-off-by: default avatarJagan Teki <jagan@openedev.com>

(cherry picked from commit 85c07a5a)
parent b137217a
...@@ -207,15 +207,17 @@ config FIT_IMAGE_POST_PROCESS ...@@ -207,15 +207,17 @@ config FIT_IMAGE_POST_PROCESS
config SPL_FIT config SPL_FIT
bool "Support Flattened Image Tree within SPL" bool "Support Flattened Image Tree within SPL"
depends on SPL depends on SPL
select SPL_OF_LIBFDT
config SPL_FIT_SIGNATURE config SPL_FIT_SIGNATURE
bool "Enable signature verification of FIT firmware within SPL" bool "Enable signature verification of FIT firmware within SPL"
depends on SPL_FIT
depends on SPL_DM depends on SPL_DM
select SPL_FIT
select SPL_RSA select SPL_RSA
config SPL_LOAD_FIT config SPL_LOAD_FIT
bool "Enable SPL loading U-Boot as a FIT" bool "Enable SPL loading U-Boot as a FIT"
select SPL_FIT
help help
Normally with the SPL framework a legacy image is generated as part Normally with the SPL framework a legacy image is generated as part
of the build. This contains U-Boot along with information as to of the build. This contains U-Boot along with information as to
......
...@@ -57,4 +57,3 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments" ...@@ -57,4 +57,3 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
CONFIG_G_DNL_VENDOR_NUM=0x0451 CONFIG_G_DNL_VENDOR_NUM=0x0451
CONFIG_G_DNL_PRODUCT_NUM=0xd022 CONFIG_G_DNL_PRODUCT_NUM=0xd022
CONFIG_RSA=y CONFIG_RSA=y
CONFIG_SPL_OF_LIBFDT=y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment