Re: [U-Boot] [PATCH 3/4] ARMv8: Allow dynamic early stack pointer

2018-01-09 Thread Stephen Warren
On 01/08/2018 03:11 PM, Simon Glass wrote: Hi Stephen, On 8 January 2018 at 11:34, Stephen Warren wrote: On 01/07/2018 08:40 PM, Simon Glass wrote: Hi Stephen, On 19 December 2017 at 18:30, Stephen Warren wrote: From: Stephen Warren U-Boot typically uses a hard-coded value for the sta

Re: [U-Boot] [PATCH 3/4] ARMv8: Allow dynamic early stack pointer

2018-01-08 Thread Simon Glass
Hi Stephen, On 8 January 2018 at 11:34, Stephen Warren wrote: > > On 01/07/2018 08:40 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 19 December 2017 at 18:30, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> U-Boot typically uses a hard-coded value for the stack pointer before >>>

Re: [U-Boot] [PATCH 3/4] ARMv8: Allow dynamic early stack pointer

2018-01-08 Thread Stephen Warren
On 01/07/2018 08:40 PM, Simon Glass wrote: Hi Stephen, On 19 December 2017 at 18:30, Stephen Warren wrote: From: Stephen Warren U-Boot typically uses a hard-coded value for the stack pointer before relocation. Implement option SYS_INIT_SP_BSS_OFFSET to instead calculate the initial SP at run

Re: [U-Boot] [PATCH 3/4] ARMv8: Allow dynamic early stack pointer

2018-01-07 Thread Simon Glass
Hi Stephen, On 19 December 2017 at 18:30, Stephen Warren wrote: > From: Stephen Warren > > U-Boot typically uses a hard-coded value for the stack pointer before > relocation. Implement option SYS_INIT_SP_BSS_OFFSET to instead calculate > the initial SP at run-time. This is useful to avoid hard-c

[U-Boot] [PATCH 3/4] ARMv8: Allow dynamic early stack pointer

2017-12-19 Thread Stephen Warren
From: Stephen Warren U-Boot typically uses a hard-coded value for the stack pointer before relocation. Implement option SYS_INIT_SP_BSS_OFFSET to instead calculate the initial SP at run-time. This is useful to avoid hard-coding addresses into U-Boot, so that can be loaded and executed at arbitrar