[U-Boot] [PATCH 4/5] nios2: initialize stack earlier in startup

Simon Glass sjg at chromium.org
Fri Sep 4 06:09:06 CEST 2015


Hi Thomas,

On 3 September 2015 at 21:15, Thomas Chou <thomas at wytron.com.tw> wrote:
> This patch reorders the startup sequence, and initializes stack
> earlier. So that we can call external functions after stack
> initialized.
>
> We will add OF control and use separated dtb. As dtb is located at
> the end of u-boot-dtb.bin image, we will need to relocate it before
> zeroing the bss. It will be easier to handle fdt in C than ASM.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> ---
>  arch/nios2/cpu/start.S | 45 ++++++++++++++++++++++-----------------------
>  1 file changed, 22 insertions(+), 23 deletions(-)

Instead, is it possible to move to calling board_init_f_mem()?

Regards,
Simon


More information about the U-Boot mailing list