From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: Bug in AT91RM9200: icache not enabled!
Date: Sun, 13 Mar 2005 16:43:48 +0100 [thread overview]
Message-ID: <42345FB4.9070806@imc-berlin.de> (raw)
In-Reply-To: <42345CB8.2020807@free.fr>
Hi Eric,
thanks for your reply. Please include mailing list next time.
> I'm working on the same issue and had to modify cpu.c like on arm920 cpu
> and had to change in cpu/at91rm9200/start.s
> from :
> mrc p15, 0, r0, c1, c0, 0
> /* Reset bit :Little Endian end fast bus mode */
> ldr r3, =0xC0000080
> /* Set bit :Asynchronous clock mode, Not Fast Bus */
> ldr r4, =0xC0000000
> bic r0, r0, r3
> orr r0, r0, r4
> /* write r0 in cp15 control register (cp15 r1) */
> mcr p15, 0, r0, c1, c0, 0
>
> to :
> ldr r0, =0xc000507C
> @ write r0 in cp15 control register (cp15 r1)
> mcr p15, 0, r0, c1, c0,0
Yeah. Pretty much like arm920t.
>
> & to remove the call to icache_enable in after lowlevelinit (no more
> necessary as the icache is enabled by the previous change.
>
> in order to get both cache activated.
So you realy have both data and instruction cache enable in U-Boot?
--
Steven
next parent reply other threads:[~2005-03-13 15:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <42345CB8.2020807@free.fr>
2005-03-13 15:43 ` Steven Scholz [this message]
2005-03-13 15:49 ` [U-Boot-Users] Re: Bug in AT91RM9200: icache not enabled! Steven Scholz
2005-03-13 15:54 ` Eric BENARD / Free
2005-03-13 16:00 ` Steven Scholz
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=42345FB4.9070806@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--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