From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] why need disable icache
Date: Wed, 08 Nov 2006 10:56:44 -0500 [thread overview]
Message-ID: <4551FE3C.3040900@smiths-aerospace.com> (raw)
In-Reply-To: <002f01c702de$bd463a40$8709a8c0@class>
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
prev parent reply other threads:[~2006-11-08 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-08 2:36 [U-Boot-Users] why need disable icache Jackson
2006-11-08 15:56 ` Jerry Van Baren [this message]
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=4551FE3C.3040900@smiths-aerospace.com \
--to=gerald.vanbaren@smiths-aerospace.com \
--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