From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sat, 10 Nov 2012 18:28:34 +0100 Subject: [U-Boot] [PATCH v3 0/2] Factorize ARM startup code as mush as possible. In-Reply-To: <1352566813-30386-1-git-send-email-albert.u.boot@aribaud.net> References: <1352028725-26683-1-git-send-email-albert.u.boot@aribaud.net> <1352566813-30386-1-git-send-email-albert.u.boot@aribaud.net> Message-ID: <20121110182834.4630bd84@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Albert, On Sat, 10 Nov 2012 18:00:11 +0100, Albert ARIBAUD 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.