From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 27 Aug 2012 19:38:21 -0500 Subject: [U-Boot] [PATCH v5 18/25] SPL: NAND: Move arch/arm/cpu/armv7/omap-common/spl_nand.c to common/spl In-Reply-To: <503C1284.5060307@ti.com> References: <1346109527-17182-1-git-send-email-trini@ti.com> <1346109527-17182-19-git-send-email-trini@ti.com> <503C013C.4050004@freescale.com> <503C1284.5060307@ti.com> Message-ID: <503C12FD.4070303@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 08/27/2012 07:36 PM, Tom Rini wrote: > On 08/27/2012 04:22 PM, Scott Wood wrote: >> On 08/27/2012 06:18 PM, Tom Rini wrote: >>> diff --git a/common/spl/Makefile b/common/spl/Makefile >>> index b61b438..7a77cd3 100644 >>> --- a/common/spl/Makefile >>> +++ b/common/spl/Makefile >>> @@ -16,6 +16,7 @@ LIB = $(obj)libspl.o >>> ifdef CONFIG_SPL_BUILD >>> COBJS-$(CONFIG_SPL_FRAMEWORK) += spl.o >>> COBJS-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o >>> +COBJS-$(CONFIG_SPL_NAND_SIMPLE) += spl_nand.o >> >> Please use a separate config symbol for this. > > No need, common/spl/libspl.o is dependent on CONFIG_SPL_FRAMEWORK Do you not want it to be possible for hardware which cannot use CONFIG_SPL_NAND_SIMPLE to use this? -Scott