[PATCH v2 04/21] sandbox: Enable SPL_LOAD_BLOCK

Sean Anderson seanga2 at gmail.com
Thu Jul 18 15:28:24 CEST 2024


On 7/13/24 03:00, Simon Glass wrote:
> Enable this option for all sandbox boards so that the FIT-loading code
> can be used without generating an error about block devices not being
> supported.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> (no changes since v1)
> 
>   common/spl/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index af43b5f5d3c..970a4a346e4 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -288,6 +288,7 @@ config SPL_BOARD_INIT
>   
>   config SPL_LOAD_BLOCK
>   	bool
> +	default y if SANDBOX
>   	help
>   	  Support loading images from block devices. This adds a bl_len member
>   	  to struct spl_load_info.

NACK.

Enable one of the many configs which select this one instead.

--Sean


More information about the U-Boot mailing list