public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] nios2: use common sequence for reserve_uboot
Date: Tue, 27 Oct 2015 21:15:24 +0800	[thread overview]
Message-ID: <562F78EC.3070504@wytron.com.tw> (raw)
In-Reply-To: <201510271007.30298.marex@denx.de>

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

  reply	other threads:[~2015-10-27 13:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27  3:24 [U-Boot] [PATCH] nios2: use common sequence for reserve_uboot Thomas Chou
2015-10-27  9:07 ` Marek Vasut
2015-10-27 13:15   ` Thomas Chou [this message]
2015-10-27 13:28     ` Marek Vasut
2015-11-03  5:16 ` Thomas Chou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=562F78EC.3070504@wytron.com.tw \
    --to=thomas@wytron.com.tw \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox