
On Tue, Mar 17, 2009 at 01:30:38PM +0100, Wolfgang Denk wrote:
Options if a board has (or uses) SPI flash and/or a SDCard and/or other things belong into the board config file. It makes no sense to provide long lists of make targets and then again long code to analyze these options in the top level Makefile. For example, above code would not allow for the case that a customer wants to use a board with SPI flash *and* SDCard - it covers only the *or* case. And no, please do not attempt to add even more such targets. This is not the way to go. It doesn't scale.
Unless I'm mistaken, those targets aren't for boards that merely *have* such things, but are trying to boot from the device in question, similar to the alternate configs for booting from NAND.
Assume each of the hundrets of boards would add code like this.
That's why we need kconfig. :-)
But until then...
-Scott