[U-Boot] [PATCH] Convert CONFIG_SYS_MAX_NAND_DEVICE to Kconfig and add CONFIG_NAND

Christophe LEROY christophe.leroy at c-s.fr
Thu Jan 25 17:26:07 UTC 2018



Le 24/01/2018 à 15:00, Adam Ford a écrit :
> Many boards are setting NAND parameters if/when CMD_NAND is set
> when in reality they should probably be doing it it CONFIG_NAND
> is set.  Previuos attempts to make CMD_NAND select CONFIG_NAND
> resulted in some recursive selections, so I think this should be
> a better solution
> 
> Using the moveconfig tool, I searched for CONFIG_SYS_MAX_NAND_DEVICE
> and then any suspicious defconfig files left behind, I added
> CONFIG_NAND=y, then retested the migration against that list.
> 
> This should allows us to make the CONFIG_CMD_NAND now dependant on
> CONFIG_NAND and enable a bunch of NAND parameters under the NAND
> menu without appearing 'suspicious'
> 
> This converts the following to Kconfig:
>     CONFIG_SYS_MAX_NAND_DEVICE
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> ---
>   configs/MCR3000_defconfig                              | 1 +
>   include/configs/MCR3000.h                              | 1 -

For the two above files:

Acked-by: <christophe.leroy at c-s.fr>


More information about the U-Boot mailing list