[PATCH 4/9] nand: Kconfig: Change dependency for NAND_ARASAN

Michal Simek monstr at monstr.eu
Wed Sep 23 14:07:09 CEST 2020


st 19. 8. 2020 v 10:44 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> NAND_ARASAN selecting DM_MTD uunconditionally. Driver can be enabled with
> !DM that's why Kconfig it showing it as error:
>
> WARNING: unmet direct dependencies detected for DM_MTD
>   Depends on [n]: DM [=n]
>   Selected by [y]:
>   - NAND_ARASAN [=y] && MTD_RAW_NAND [=y]
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  drivers/mtd/nand/raw/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
> index 06b2ff972cad..df4cbd52cf5c 100644
> --- a/drivers/mtd/nand/raw/Kconfig
> +++ b/drivers/mtd/nand/raw/Kconfig
> @@ -233,7 +233,7 @@ endif
>  config NAND_ARASAN
>         bool "Configure Arasan Nand"
>         select SYS_NAND_SELF_INIT
> -       select DM_MTD
> +       depends on DM_MTD
>         imply CMD_NAND
>         help
>           This enables Nand driver support for Arasan nand flash
> --
> 2.28.0
>

Applied just this one patch with defconfig sync.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list