[PATCH] riscv: use imply instead of select for SPL_SEPARATE_BSS

Sean Anderson seanga2 at gmail.com
Mon Nov 21 05:00:08 CET 2022


On 11/16/22 02:08, Zong Li wrote:
> Use imply instead of select, then it can still be disabled by
> board-specific defconfig, or be set to n manually.
> 
> Signed-off-by: Zong Li <zong.li at sifive.com>
> ---
>   arch/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/Kconfig b/arch/Kconfig
> index ae39716697..102956d24c 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -111,7 +111,7 @@ config RISCV
>   	select SUPPORT_OF_CONTROL
>   	select OF_CONTROL
>   	select DM
> -	select SPL_SEPARATE_BSS if SPL
> +	imply SPL_SEPARATE_BSS if SPL
>   	imply DM_SERIAL
>   	imply DM_ETH
>   	imply DM_EVENT

Do you have an example of a board which does this?

--Sean


More information about the U-Boot mailing list