From: Wolfgang Denk Date: Thu, 09 Aug 2012 23:38:02 +0200 Subject: [U-Boot] [PATCH] openrisc: Work around potential relocation issues In-Reply-To: <1336257131-29747-1-git-send-email-juliusbaxter@gmail.com> References: <1336257131-29747-1-git-send-email-juliusbaxter@gmail.com> Message-ID: <20120809213802.7669120401A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Julius Baxter, In message <1336257131-29747-1-git-send-email-juliusbaxter@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 > --- > 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