]> git.dujemihanovic.xyz Git - u-boot.git/commit
sparc: Update PROM initialization code for generic board
authorFrancois Retief <fgretief@spaceteq.co.za>
Mon, 23 Nov 2015 11:05:44 +0000 (13:05 +0200)
committerFrancois Retief <fgretief@spaceteq.co.za>
Thu, 3 Dec 2015 11:15:49 +0000 (13:15 +0200)
commit1e85ccec536f86a96e5e317b5a59a6f5180451f3
tree85818582f0a825daf140ceb8afb8412d7fad8cf8
parentc97088c3cfa84e7e53fddd26896f145cc8c431a2
sparc: Update PROM initialization code for generic board

Fixed the prom_relocate() function in start.S file by reserving memory in
the board_init_f sequence and saving the offset to the __prom_start_reloc
variable. This value is used as the destination when relocating the PROM.

Add the prom_init() function to the end of the board_init_r sequence.

Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
arch/sparc/cpu/leon2/prom.c
arch/sparc/cpu/leon2/start.S
arch/sparc/cpu/leon3/prom.c
arch/sparc/cpu/leon3/start.S
common/board_f.c
common/board_r.c