Re: [U-Boot] [PATCH 3/5] arm: Allow lr to be saved by board code

2015-02-05 Thread Tom Rini
On Wed, Feb 04, 2015 at 07:51:36PM -0700, Simon Glass wrote: > Hi Albert, > > On 4 February 2015 at 01:59, Albert ARIBAUD wrote: > > Hello Simon, > > > > On Tue, 3 Feb 2015 21:18:52 -0700, Simon Glass > > wrote: > >> The link register value can be required on some boards (e.g. FEL mode on > >>

Re: [U-Boot] [PATCH 3/5] arm: Allow lr to be saved by board code

2015-02-05 Thread Simon Glass
Hi Albert, On 5 February 2015 at 07:15, Albert ARIBAUD wrote: > Hello Simon, > > On Wed, 4 Feb 2015 19:51:36 -0700, Simon Glass wrote: >> Hi Albert, >> >> On 4 February 2015 at 01:59, Albert ARIBAUD >> wrote: >> > Hello Simon, >> > >> > On Tue, 3 Feb 2015 21:18:52 -0700, Simon Glass >> > wro

Re: [U-Boot] [PATCH 3/5] arm: Allow lr to be saved by board code

2015-02-05 Thread Albert ARIBAUD
Hello Simon, On Wed, 4 Feb 2015 19:51:36 -0700, Simon Glass wrote: > Hi Albert, > > On 4 February 2015 at 01:59, Albert ARIBAUD wrote: > > Hello Simon, > > > > On Tue, 3 Feb 2015 21:18:52 -0700, Simon Glass > > wrote: > >> The link register value can be required on some boards (e.g. FEL mode

Re: [U-Boot] [PATCH 3/5] arm: Allow lr to be saved by board code

2015-02-04 Thread Simon Glass
Hi Albert, On 4 February 2015 at 01:59, Albert ARIBAUD wrote: > Hello Simon, > > On Tue, 3 Feb 2015 21:18:52 -0700, Simon Glass > wrote: >> The link register value can be required on some boards (e.g. FEL mode on >> sunxi) so stash it to r4 before jumping to save_boot_params(). > > I'd rather n

Re: [U-Boot] [PATCH 3/5] arm: Allow lr to be saved by board code

2015-02-04 Thread Albert ARIBAUD
Hello Simon, On Tue, 3 Feb 2015 21:18:52 -0700, Simon Glass wrote: > The link register value can be required on some boards (e.g. FEL mode on > sunxi) so stash it to r4 before jumping to save_boot_params(). I'd rather not make this there; I would like save_boot_params to start with as unmodifie

[U-Boot] [PATCH 3/5] arm: Allow lr to be saved by board code

2015-02-04 Thread Simon Glass
The link register value can be required on some boards (e.g. FEL mode on sunxi) so stash it to r4 before jumping to save_boot_params(). Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/start.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/s