public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] nios2: Pseudo implement dcache_status/enable/disable()
Date: Thu, 20 Oct 2011 15:00:09 +0800	[thread overview]
Message-ID: <4E9FC6F9.6040800@wytron.com.tw> (raw)
In-Reply-To: <1318869306-4803-1-git-send-email-joachim.foerster@missinglinkelectronics.com>

On 10/18/2011 12:35 AM, 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 v2:
> 	- Remove return; from added void functions
>
>   arch/nios2/cpu/cpu.c |   15 +++++++++++++++
>   1 files changed, 15 insertions(+), 0 deletions(-)

Hi Joachim,

I got this warning. Please fix it with appropriate header. Thanks.

Configuring for nios2-generic board...
cpu.c: In function 'dcache_enable':
cpu.c:58: warning: implicit declaration of function 'flush_dcache'

Best regards,
Thomas

  reply	other threads:[~2011-10-20  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 [this message]
2011-10-20  8:28       ` [U-Boot] [PATCH v3] " Joachim Foerster
2011-10-21  7:00         ` Thomas Chou
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=4E9FC6F9.6040800@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