[U-Boot] [PATCH v3 0/2] Factorize ARM startup code as mush as possible.

Albert ARIBAUD albert.u.boot at aribaud.net
Sat Nov 10 18:28:34 CET 2012


Hi Albert,

On Sat, 10 Nov 2012 18:00:11 +0100, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:

> The goal of this series is to scrub the start.S files
> which have proliferated across arch/arm and eliminate
> code redundancy.
> 
> Currently this series only factorizes the C runtime
> framework, that is, the assembly code responsible for
> setting up the C environments needed by board_init_*()
> and relocate_code().
> 
> Further factorization is possible: relocate_code() can
> be moved out and possibly rewritten in C now that it
> has plain C function semantics; exception handlers
> should also be pretty much cpu-independent.
> 
> Eventually, start.S files should disappear or contain
> CPU-specific code only.
> 
> The new C runtime setup sequence has been validated step by
> step on target versatileqemu using toolchain ELDK4.2.
> 
> The whole changes have been build-tested across all ARM
> targets using MAKEALL -a arm.
> 
> Changes in v3:
> - various clarifications and typo fixes
> - fixed wrong LED calls conditional
> - fixed open comment eating some code
> - fixed code overrun in SPL case

Note there is no warning for using 'deprecated' NAND_SPL yet. I'm
running full MAKEALL -a arm on this and it'll be added in v4 depending
on results.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list