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

Thomas Chou thomas at wytron.com.tw
Tue Oct 27 14:15:24 CET 2015


Hi Marek,

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. ><

Best regards,
Thomas


More information about the U-Boot mailing list