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

Wolfgang Denk wd at denx.de
Tue Jun 9 20:59:45 CEST 2009


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?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You humans have that emotional need  to  express  gratitude.  "You're
welcome," I believe, is the correct response.
	-- Spock, "Bread and Circuses", stardate 4041.2


More information about the U-Boot mailing list