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

Tom Rini trini at konsulko.com
Fri Apr 1 14:51:41 CEST 2016


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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160401/4e1a88cf/attachment.sig>


More information about the U-Boot mailing list