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 3/3] nios2: fix cached mode in clearing the BSS
Date: Fri, 6 Nov 2015 09:29:40 +0800	[thread overview]
Message-ID: <563C0284.6030305@wytron.com.tw> (raw)
In-Reply-To: <1446531623-17267-3-git-send-email-thomas@wytron.com.tw>



On 2015?11?03? 14:20, Thomas Chou wrote:
> As the generic board runs in cached mode, it should not use
> "stwio" which bypass the cache.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
>   arch/nios2/cpu/start.S | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied to u-boot-nios.

> diff --git a/arch/nios2/cpu/start.S b/arch/nios2/cpu/start.S
> index bb86bbf..54787c5 100644
> --- a/arch/nios2/cpu/start.S
> +++ b/arch/nios2/cpu/start.S
> @@ -158,7 +158,7 @@ relocate_code:
>   	ori	r6, r6, %lo(__bss_end)
>   	beq	r5, r6, 5f
>
> -4:	stwio	r0, 0(r5)
> +4:	stw	r0, 0(r5)
>   	addi	r5, r5, 4
>   	bne	r5, r6, 4b
>   5:
>

  parent reply	other threads:[~2015-11-06  1:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03  6:20 [U-Boot] [PATCH 1/3] nios2: remove CONFIG_SYS_MALLOC_BASE macro Thomas Chou
2015-11-03  6:20 ` [U-Boot] [PATCH 2/3] nios2: remove CONFIG_SYS_INIT_SP macro Thomas Chou
2015-11-03 15:25   ` Marek Vasut
2015-11-04 14:32   ` Chin Liang See
2015-11-06  1:29   ` Thomas Chou
2015-11-03  6:20 ` [U-Boot] [PATCH 3/3] nios2: fix cached mode in clearing the BSS Thomas Chou
2015-11-04 14:49   ` Chin Liang See
2015-11-06  1:29   ` Thomas Chou [this message]
2015-11-04 14:28 ` [U-Boot] [PATCH 1/3] nios2: remove CONFIG_SYS_MALLOC_BASE macro Chin Liang See
2015-11-06  1:28 ` 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=563C0284.6030305@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