[U-Boot] [PATCH] openrisc: Work around potential relocation issues
Wolfgang Denk
wd at denx.de
Thu Aug 9 23:38:02 CEST 2012
Dear Julius Baxter,
In message <1336257131-29747-1-git-send-email-juliusbaxter at gmail.com> you wrote:
> 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 at gmail.com>
> ---
> arch/openrisc/cpu/cpu.c | 6 +++++-
> arch/openrisc/cpu/start.S | 13 ++++++++-----
> 2 files changed, 13 insertions(+), 6 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A good marriage would be between a blind wife and deaf husband.
-- Michel de Montaigne
More information about the U-Boot
mailing list