From: Reinhard Arlt <reinhard.arlt@esd.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] CPCI750: Do not enable data cache in start.S
Date: Fri, 18 Nov 2011 19:50:11 +0100 [thread overview]
Message-ID: <4EC6A8E3.7050302@esd.eu> (raw)
From: Reinhard Arlt <reinhard.arlt@esd.eu>
Do not enable the data cache in start.S, the decrementer do not work.
Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
--
diff --git a/arch/powerpc/cpu/74xx_7xx/start.S b/arch/powerpc/cpu/74xx_7xx/start.S
index 75fb773..131fc14 100644
--- a/arch/powerpc/cpu/74xx_7xx/start.S
+++ b/arch/powerpc/cpu/74xx_7xx/start.S
@@ -247,11 +247,12 @@ in_flash:
/* enable address translation */
bl enable_addr_trans
sync
-
+#if !defined(CONFIG_CPCI750)
/* enable and invalidate the data cache */
bl l1dcache_enable
sync
#endif
+#endif
#ifdef CONFIG_SYS_INIT_RAM_LOCK
bl lock_ram_in_cache
sync
next reply other threads:[~2011-11-18 18:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-18 18:50 Reinhard Arlt [this message]
2011-12-05 21:56 ` [U-Boot] [PATCH] CPCI750: Do not enable data cache in start.S Wolfgang Denk
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=4EC6A8E3.7050302@esd.eu \
--to=reinhard.arlt@esd.eu \
--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