]> git.dujemihanovic.xyz Git - u-boot.git/commit
sparc: leon2: Updates for generic board initialization
authorFrancois Retief <fgretief@spaceteq.co.za>
Sat, 21 Nov 2015 11:25:41 +0000 (13:25 +0200)
committerFrancois Retief <fgretief@spaceteq.co.za>
Thu, 3 Dec 2015 11:15:49 +0000 (13:15 +0200)
commitc837901bf15616dd08997c30461e0f62bcd55245
tree498151ee938f630bd8ca7e88a4872a39e517aa23
parenta62bba15b5a02accb8f6de3b47a525eab4f50302
sparc: leon2: Updates for generic board initialization

Reworked the LEON2 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 LEON2 boards.

Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
arch/sparc/cpu/leon2/cpu_init.c
arch/sparc/cpu/leon2/start.S
include/configs/grsim_leon2.h