[U-Boot] [PATCH v5 18/25] SPL: NAND: Move arch/arm/cpu/armv7/omap-common/spl_nand.c to common/spl

Scott Wood scottwood at freescale.com
Tue Aug 28 02:38:21 CEST 2012


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




More information about the U-Boot mailing list