[U-Boot] [PATCH v3 1/6] ARM1136: Introduce CONFIG_PRELOADER macro.

Magnus Lilja lilja.magnus at gmail.com
Tue Jun 9 21:19:14 CEST 2009


Dear Wolfgang,

2009/6/9 Wolfgang Denk <wd at denx.de>:
> Dear Magnus,
>
> In message <bef59ad70a27ef8496f88b85510f8d2c236e8cd9.1244572159.git.lilja.magnus at gmail.com> you wrote:
>> Currently CONFIG_ONENAND_IPL is used in a number of #ifdef's
>> in start.S. In preparation for adding support for NAND SPL
>> the macro CONFIG_PRELOADER is introducted and replaces the
>> CONFIG_ONENAND_IPL in start.S.
>>
>> Signed-off-by: Magnus Lilja <lilja.magnus at gmail.com>
>> ---
>>  README                             |    5 +++++
>>  cpu/arm1136/start.S                |   24 ++++++++++++------------
>>  onenand_ipl/board/apollon/Makefile |    4 ++--
>>  3 files changed, 19 insertions(+), 14 deletions(-)
>>
>> diff --git a/README b/README
>> index 561c100..86cf628 100644
>> --- a/README
>> +++ b/README
>> @@ -2702,6 +2702,11 @@ Low Level (hardware related) configuration options:
>>               some other boot loader or by a debugger which
>>               performs these initializations itself.
>>
>> +- CONFIG_PRELOADER
>> +
>> +             [ARM only] Modifies the behaviour of start.S when
>> +             compiling a loader that is executed before the actual
>> +             U-Boot. E.g. when compiling a NAND SPL.
>
> Is there a special reason for making this ARM only?

No, but it's only used on ARM so far.

/Magnus


More information about the U-Boot mailing list