[PATCH v7 2/5] bootstd: select BLK rather than depending on it

Tom Rini trini at konsulko.com
Thu Sep 25 16:18:49 CEST 2025


On Wed, Sep 24, 2025 at 06:23:01PM -0600, Simon Glass wrote:

> From: Simon Glass <sjg at chromium.org>
> 
> With recent changes to how BLK works, we must use 'select' to enable the
> BLK feature, which is currently required by BOOTSTD.
> 
> This fixes the following error:
> 
>     GEN     Makefile
>   scripts/kconfig/conf  --syncconfig Kconfig
>   boot/Kconfig:496:error: recursive dependency detected!
>   boot/Kconfig:496:	symbol BOOTSTD_DEFAULTS depends on BOOTSTD
>   boot/Kconfig:441:	symbol BOOTSTD default is visible depending on BLK
>   drivers/block/Kconfig:1:	symbol BLK is selected by USB
>   drivers/usb/Kconfig:1:	symbol USB is selected by BOOTSTD_DEFAULTS
> 
> Disable BOOTSTD for the boards which don't have enough space or some
> other problem:
> 
>   zynq_cse_nand
>   zynq_cse_nor
>   zynq_cse_qspi
>   gardena-smart-gateway-mt7688
>   10m50
>   3c120
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

This is the wrong direction. Please instead get the dependencies correct
in the next patch. You're likely missing some conditionals on the
selects you add as bootstd does not depend on BLK.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250925/89d2dbd7/attachment.sig>


More information about the U-Boot mailing list