[U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

Mugunthan V N mugunthanvnm at ti.com
Fri Apr 1 16:57:49 CEST 2016


On Friday 01 April 2016 06:21 PM, Tom Rini wrote:
> On Fri, Apr 01, 2016 at 04:59:44PM +0530, Mugunthan V N wrote:
> 
>> Add CONFIG_NAND as a Kconfig option so that it can be selected
>> using menuconfig or defconfig.
>>
>> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
> 
> Good but you need to update configs/ to remove NAND from
> CONFIG_SYS_EXTRA_OPTIONS and add CONFIG_NAND=y
> 
> Doing:
> $ for F in `git grep -lE SYS_EXTRA.*NAND configs/`;do sed -i -e \
>     's/,NAND//' $F && echo CONFIG_NAND=y >> $F;done
> will get you most of the way there, then just a:
> $ for C in `git status configs/ | grep modified: | cut -d / -f 2`;do \
>   make O=$C $C savedefconfig && cp $C/defconfig configs/$C;done
> 
> To get it in the right spot, git add -p only the bits you really wanted,
> done.  Thanks!
> 

Will fix it in v2

Regards
Mugunthan V N


More information about the U-Boot mailing list