From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] nios2: convert do_reset to use dm cpu data
Date: Tue, 13 Oct 2015 21:14:17 +0800 [thread overview]
Message-ID: <561D03A9.9040808@wytron.com.tw> (raw)
In-Reply-To: <1444014045-25006-1-git-send-email-thomas@wytron.com.tw>
On 10/05/2015 11:00 AM, Thomas Chou wrote:
> Convert do_reset to use dm cpu data.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
> arch/nios2/cpu/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied to u-boot-nios.
> diff --git a/arch/nios2/cpu/cpu.c b/arch/nios2/cpu/cpu.c
> index 106f0bf..229a07b 100644
> --- a/arch/nios2/cpu/cpu.c
> +++ b/arch/nios2/cpu/cpu.c
> @@ -25,7 +25,7 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
> {
> disable_interrupts();
> /* indirect call to go beyond 256MB limitation of toolchain */
> - nios2_callr(CONFIG_SYS_RESET_ADDR);
> + nios2_callr(gd->arch.reset_addr);
> return 0;
> }
>
>
prev parent reply other threads:[~2015-10-13 13:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-05 3:00 [U-Boot] [PATCH] nios2: convert do_reset to use dm cpu data Thomas Chou
2015-10-06 14:18 ` Simon Glass
2015-10-13 13:14 ` Thomas Chou [this message]
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=561D03A9.9040808@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