From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 21 Nov 2011 13:13:49 -0600 Subject: [U-Boot] [RFC PATCH v2 08/12] sf: Add spi_boot() to allow booting from SPI flash in an SPL In-Reply-To: <201111211407.50154.vapier@gentoo.org> References: <1321893227-19545-1-git-send-email-christian.riesch@omicron.at> <1321893227-19545-10-git-send-email-christian.riesch@omicron.at> <201111211407.50154.vapier@gentoo.org> Message-ID: <4ECAA2ED.2040907@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/21/2011 01:07 PM, Mike Frysinger wrote: > On Monday 21 November 2011 11:33:43 Christian Riesch wrote: >> --- a/drivers/mtd/spi/Makefile >> +++ b/drivers/mtd/spi/Makefile >> >> +ifdef CONFIG_SPL_BUILD >> +ifdef CONFIG_SPL_SPI_LOAD >> +COBJS-y += spi_spl_load.o >> +endif >> +endif > > if it's SPL only, then it should probably be in the spl/ tree somewhere ? That's not how the NAND stuff got done -- we should be consistent here. I think it's nice to keep all drivers, SPL or not, for a given type of hardware in one place. -Scott