[U-Boot] [PATCH] nios2: use common sequence for reserve_uboot

Marek Vasut marex at denx.de
Tue Oct 27 14:28:47 CET 2015


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 <thomas at wytron.com.tw>
> > 
> > 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


More information about the U-Boot mailing list