From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 18 Mar 2009 12:15:35 -0500 Subject: [U-Boot] [PATCH 5/7] Make a special uboot used for booting from SDcard or SPI flash In-Reply-To: <20090317123038.41FFD832E8B7@gemini.denx.de> References: <1237171943-11938-1-git-send-email-Mingkai.hu@freescale.com> <1237171943-11938-2-git-send-email-Mingkai.hu@freescale.com> <1237171943-11938-3-git-send-email-Mingkai.hu@freescale.com> <1237171943-11938-4-git-send-email-Mingkai.hu@freescale.com> <1237171943-11938-5-git-send-email-Mingkai.hu@freescale.com> <20090316085536.A0D4E832E8B8@gemini.denx.de> <73839B4A0818E747864426270AC332C303E411DE@zmy16exm20.fsl.freescale.net> <20090317123038.41FFD832E8B7@gemini.denx.de> Message-ID: <20090318171535.GB3314@loki.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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