[U-Boot] [PATCH 1/4] arm: iproc: add NAND driver

Tom Rini trini at konsulko.com
Fri Mar 11 19:18:22 CET 2016


On Fri, Mar 11, 2016 at 10:07:46AM -0800, Steve Rae wrote:

> Is it expected the _every_ CONFIG_* and CONFIG_SYS_* will be moved to Kconfig?
> What about #defines that will absolutely never used by anyone else?
> for example, I (may) have a code fragment that distinguishes between
> "CONFIG_CYGNUS" and "CONFIG_NSPLUS"...
> Would these need to be Kconfig? or would that just clutter Kconfig
> with useless entries?

Well, at some point yes, pretty much everything will be in Kconfig, like
the Linux Kernel does.  I suppose one way to think of it is that if it's
not something that should be configured but is rather a property of the
device, it doesn't belong as CONFIG_ it should just be a define in the
header.  Take a look at the other NAND drivers which have been converted
and be at least as converted as they are.  More conversions are always
appreciated but we have to keep at least a minimal level :)  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/20160311/e0ec50ee/attachment.sig>


More information about the U-Boot mailing list