From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 27 Oct 2015 14:28:47 +0100 Subject: [U-Boot] [PATCH] nios2: use common sequence for reserve_uboot In-Reply-To: <562F78EC.3070504@wytron.com.tw> References: <1445916250-19321-1-git-send-email-thomas@wytron.com.tw> <201510271007.30298.marex@denx.de> <562F78EC.3070504@wytron.com.tw> Message-ID: <201510271428.47645.marex@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 On Tuesday, October 27, 2015 at 02:15:24 PM, Thomas Chou wrote: > Hi Marek, Hi, > On 10/27/2015 05:07 PM, Marek Vasut wrote: > > On Tuesday, October 27, 2015 at 04:24:10 AM, Thomas Chou wrote: > >> Use common sequence for reserve_uboot, as the result is > >> the same. > >> > >> Signed-off-by: Thomas Chou > > > > Shouldn't we just implement relocation properly ? > > This patch is not quite related to relocation. It just says that nios2 > can use the same order (early or late) of init sequence about the > reserve_uboot() call as most other archs. Only blackfin is special in this. > > I did look into the relocation of nios2 a little. And realized that > nios2 does not have the relative call instruction like ARM's "bl". It > will be almost impossible to do relocation without support from > compiler, eg, emulate the relative call. >< Ccing Albert, so he can comment on this. Best regards, Marek Vasut