sparc: leon3: Updates for generic board initialization
authorFrancois Retief <fgretief@spaceteq.co.za>
Wed, 28 Oct 2015 22:02:48 +0000 (00:02 +0200)
committerFrancois Retief <fgretief@spaceteq.co.za>
Thu, 3 Dec 2015 11:15:49 +0000 (13:15 +0200)
commita62bba15b5a02accb8f6de3b47a525eab4f50302
tree02e7dc34b65d1e17482d3b90d31c2a4ab15b2d8a
parentcb31eaa4b3e870e4520dd0ce6f9ce326dc9cf50b
sparc: leon3: Updates for generic board initialization

Reworked the LEON3 start.S code to call board_init_f function at startup.
Also implemented the relocate_code function in assembly to relocate the
monitor and setup the stack pointer before calling relocated board_init_r.

Add the CONFIG_SYS_GENERIC_BOARD variable to all the LEON3 boards.

Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
arch/sparc/cpu/leon3/cpu_init.c
arch/sparc/cpu/leon3/start.S
include/configs/gr_cpci_ax2000.h
include/configs/gr_ep2s60.h
include/configs/gr_xc3s_1500.h
include/configs/grsim.h