]> git.sur5r.net Git - u-boot/commit
openrisc: Work around potential relocation issues
authorJulius Baxter <juliusbaxter@gmail.com>
Sat, 5 May 2012 12:32:11 +0000 (12:32 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 9 Aug 2012 21:37:45 +0000 (23:37 +0200)
commit3874a377451e4d1f45710f5bf801dd96e8b8f67e
treec9ecb29bc7b72a91affc6ab25e8950cb5ebc483c
parenteb0b43f264077fb7ff53b479dce76324a8aaa696
openrisc: Work around potential relocation issues

When reset code is in flash, the jump instructions emitted by the
compiler are relative instead of absolute jumps.

A fix to the reset code to make correct jumps to the beginning of
code relocated to RAM have also been added.

Signed-off-by: Julius Baxter <juliusbaxter@gmail.com>
arch/openrisc/cpu/cpu.c
arch/openrisc/cpu/start.S