From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 7 Jan 2013 07:40:58 -0700 Subject: [U-Boot] [PATCH v4 1/2] arm: move C runtime setup code in crt0.S In-Reply-To: <1354020206-24762-2-git-send-email-albert.u.boot@aribaud.net> References: <1352566813-30386-1-git-send-email-albert.u.boot@aribaud.net> <1354020206-24762-1-git-send-email-albert.u.boot@aribaud.net> <1354020206-24762-2-git-send-email-albert.u.boot@aribaud.net> Message-ID: <20130107144058.GC3402@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 27, 2012 at 01:43:25PM +0100, Albert ARIBAUD wrote: > Move all the C runtime setup code from every start.S > in arch/arm into arch/arm/lib/crt0.S. This covers > the code sequence from setting up the initial stack > to calling into board_init_r(). > > Also, rewrite the C runtime setup and make functions > board_init_*() and relocate_code() behave according to > normal C semantics (no jumping across the C stack any > more, etc). > > Some SPL targets had to be touched because they use > start.S explicitly or for some reason; the relevant > maintainers and custodians are cc:ed. > > Signed-off-by: Albert ARIBAUD On beaglebone Rev A5 Tested-by: Tom Rini Acked-by: Tom Rini -- Tom