From: Alessandro Rubini <rubini-list@gnudd.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RFC 0/2] dcache on ARM
Date: Tue, 26 Jan 2010 17:16:08 +0100 [thread overview]
Message-ID: <20100126161608.GA20946@morgana.gnudd.com> (raw)
These patches enable the dcache for ARM9. It's mainly an RFC, as some
details are still to be sorted out, but they work fine (and the speed
increase is noticeable for kernel boots and cp.b -- didn't make more
tests.
I tested the code on at91sam9263ek and nhk8815. No makeall at this
point, as I'm mainly interested in comments here.
This is based on the cache-cp15.c infrastructure set up by
Jean-Christophe for icache enabling.
I'm sure Drasko Draskovic has better code, but since he has sent
no a patch yet (asked in Mar 2009, and then again and again),
here is my approach.
Alessandro Rubini (2):
flush cache for arm926
arm cp15: setup mmu and enable dcache
lib_arm/cache-cp15.c | 37 +++++++++++++++++++++++++++++++++++++
lib_arm/cache.c | 6 ++++++
2 files changed, 43 insertions(+), 0 deletions(-)
next reply other threads:[~2010-01-26 16:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-26 16:16 Alessandro Rubini [this message]
2010-01-26 17:13 ` [U-Boot] [PATCH RFC 0/2] dcache on ARM Nick Thompson
2010-01-26 21:50 ` Alessandro Rubini
2010-01-26 17:21 ` Armando VISCONTI
2010-01-26 17:36 ` Alessandro Rubini
2010-01-26 17:59 ` Armando VISCONTI
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=20100126161608.GA20946@morgana.gnudd.com \
--to=rubini-list@gnudd.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