[U-Boot] [PATCH v2 1/3] MX31: Add NAND SPL for i.MX31.

Magnus Lilja lilja.magnus at gmail.com
Mon May 11 18:48:30 CEST 2009


2009/5/10 Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>:
> On 21:31 Sun 10 May     , Magnus Lilja wrote:
>> 2009/5/9 Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>:
>> > On 21:56 Sun 03 May     , Magnus Lilja wrote:
>> >> @@ -32,7 +35,7 @@
>> >>  #include <version.h>
>> >>  .globl _start
>> >>  _start: b    reset
>> >> -#ifdef CONFIG_ONENAND_IPL
>> >> +#if defined(CONFIG_ONENAND_IPL) || defined(CONFIG_NAND_SPL)
>> > create a better CONFIG_
>> > because we could need for other boot mode
>>
>> A better CONFIG_ than what? CONFIG_NAND_SPL is already used elsewhere
>> in U-boot when booting from NAND.
> IIRC in this case the purpose is to reduce the size of the start.S to allow more
> code in the ipl & spl

The main purpose of CONFIG_ONENAND_IPL and NAND_SPL in start.S is to
change the behaviour a bit, not so much to save some space.

Regards, Magnus


More information about the U-Boot mailing list