]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
boot: group SPL_FIT symbols together
authorQuentin Schulz <quentin.schulz@cherry.de>
Fri, 31 Oct 2025 17:08:22 +0000 (18:08 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 11 Nov 2025 20:53:25 +0000 (14:53 -0600)
Let's not mix with symbols from other phases.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/Kconfig

index 967b17b5d6cab77058a879a58fc9104541ac40fa..a37d08eff1d4997e757c161d0d9ebe126d0a201f 100644 (file)
@@ -174,12 +174,6 @@ config SPL_FIT
        select SPL_HASH
        select SPL_OF_LIBFDT
 
-config TPL_FIT
-       bool "Support Flattened Image Tree within TPL"
-       depends on TPL
-       select TPL_HASH
-       select TPL_OF_LIBFDT
-
 config SPL_FIT_PRINT
        bool "Support FIT printing within SPL"
        depends on SPL_FIT
@@ -285,6 +279,27 @@ config SPL_LOAD_FIT_FULL
          particular it can handle selecting from multiple device tree
          and passing the correct one to U-Boot.
 
+config SPL_FIT_IMAGE_POST_PROCESS
+       bool "Enable post-processing of FIT artifacts after loading by the SPL"
+       depends on SPL_LOAD_FIT
+       default y if TI_SECURE_DEVICE
+       help
+         Allows doing any sort of manipulation to blobs after they got extracted
+         from the U-Boot FIT image like stripping off headers or modifying the
+         size of the blob, verification, authentication, decryption etc. in a
+         platform or board specific way. In order to use this feature a platform
+         or board-specific implementation of board_fit_image_post_process() must
+         be provided. Also, anything done during this post-processing step would
+         need to be comprehended in how the images were prepared before being
+         injected into the FIT creation (i.e. the blobs would have been pre-
+         processed before being added to the FIT image).
+
+config TPL_FIT
+       bool "Support Flattened Image Tree within TPL"
+       depends on TPL
+       select TPL_HASH
+       select TPL_OF_LIBFDT
+
 config TPL_LOAD_FIT
        bool "Enable TPL loading U-Boot as a FIT (basic fitImage features)"
        depends on TPL
@@ -307,21 +322,6 @@ config TPL_LOAD_FIT
          3. FDTs are only loaded for images with an "os" property of "u-boot".
             "linux" images are also supported with Falcon boot mode.
 
-config SPL_FIT_IMAGE_POST_PROCESS
-       bool "Enable post-processing of FIT artifacts after loading by the SPL"
-       depends on SPL_LOAD_FIT
-       default y if TI_SECURE_DEVICE
-       help
-         Allows doing any sort of manipulation to blobs after they got extracted
-         from the U-Boot FIT image like stripping off headers or modifying the
-         size of the blob, verification, authentication, decryption etc. in a
-         platform or board specific way. In order to use this feature a platform
-         or board-specific implementation of board_fit_image_post_process() must
-         be provided. Also, anything done during this post-processing step would
-         need to be comprehended in how the images were prepared before being
-         injected into the FIT creation (i.e. the blobs would have been pre-
-         processed before being added to the FIT image).
-
 if VPL
 
 config VPL_FIT