From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] nios2: Pseudo implement dcache_status/enable/disable()
Date: Fri, 21 Oct 2011 15:00:53 +0800 [thread overview]
Message-ID: <4EA118A5.6050609@wytron.com.tw> (raw)
In-Reply-To: <1319099290-19267-1-git-send-email-joachim.foerster@missinglinkelectronics.com>
On 10/20/2011 04:28 PM, Joachim Foerster wrote:
> AFAIK the NIOS2 architecture does not have any possibility to
> dynamically switch off the data cache. So _status() always reports 1 and
> _enable/_disable() just issue a flush of everything.
>
> For example, common/cmd_elf.c depends on these symbols.
>
> Signed-off-by: Joachim Foerster<joachim.foerster@missinglinkelectronics.com>
> ---
> Changes for v3:
> - #include proper header file for flush_dcache()
> Changes for v2:
> - Remove return; from added void functions
>
> arch/nios2/cpu/cpu.c | 16 ++++++++++++++++
> 1 files changed, 16 insertions(+), 0 deletions(-)
>
Tested-by: Thomas Chou <thomas@wytron.com.tw>
next prev parent reply other threads:[~2011-10-21 7:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 15:40 [U-Boot] [RFC PATCH] nios2: Pseudo implement dcache_status/enable/disable() Joachim Foerster
2011-10-17 15:45 ` Mike Frysinger
2011-10-17 16:35 ` [U-Boot] [PATCH v2] " Joachim Foerster
2011-10-20 7:00 ` Thomas Chou
2011-10-20 8:28 ` [U-Boot] [PATCH v3] " Joachim Foerster
2011-10-21 7:00 ` Thomas Chou [this message]
2011-10-28 7:27 ` Thomas Chou
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=4EA118A5.6050609@wytron.com.tw \
--to=thomas@wytron.com.tw \
--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