From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Fri, 6 Nov 2015 09:29:40 +0800 Subject: [U-Boot] [PATCH 3/3] nios2: fix cached mode in clearing the BSS In-Reply-To: <1446531623-17267-3-git-send-email-thomas@wytron.com.tw> References: <1446531623-17267-1-git-send-email-thomas@wytron.com.tw> <1446531623-17267-3-git-send-email-thomas@wytron.com.tw> Message-ID: <563C0284.6030305@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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: >