* [U-Boot-Users] why need disable icache
@ 2006-11-08 2:36 Jackson
2006-11-08 15:56 ` Jerry Van Baren
0 siblings, 1 reply; 2+ messages in thread
From: Jackson @ 2006-11-08 2:36 UTC (permalink / raw)
To: u-boot
Hi, all
I have been confused by cache recently.
1. why need we disable icache and dcache at the beginning of the u-boot
code?
2. when can we enable them ?
Thank you for the help.
Best regards
Jackson
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] why need disable icache
2006-11-08 2:36 [U-Boot-Users] why need disable icache Jackson
@ 2006-11-08 15:56 ` Jerry Van Baren
0 siblings, 0 replies; 2+ messages in thread
From: Jerry Van Baren @ 2006-11-08 15:56 UTC (permalink / raw)
To: u-boot
Jackson wrote:
> Hi, all
> I have been confused by cache recently.
> 1. why need we disable icache and dcache at the beginning of the u-boot
> code?
In case the system does a soft reset: a soft reset generally leaves
caches enabled.
> 2. when can we enable them ?
Simple question, complex answer. The simple answer is after the CPU and
your hardware are initialized properly such that enabling caches doesn't
cause it to crash. The details is where it gets complex because it
depends on the processor you are using, the hardware you have, and how
you are using both the processor and the hardware. IOW, only you can
answer the question.
> Thank you for the help.
>
> Best regards
> Jackson
gvb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-08 15:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 2:36 [U-Boot-Users] why need disable icache Jackson
2006-11-08 15:56 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox