From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH] nios2: Pseudo implement dcache_status/enable/disable()
Date: Mon, 17 Oct 2011 11:45:10 -0400 [thread overview]
Message-ID: <201110171145.10990.vapier@gentoo.org> (raw)
In-Reply-To: <1318866009-1622-1-git-send-email-joachim.foerster@missinglinkelectronics.com>
On Monday 17 October 2011 11:40:09 Joachim Foerster wrote:
> +void dcache_enable(void)
> +{
> + flush_dcache(CONFIG_SYS_DCACHE_SIZE, CONFIG_SYS_DCACHELINE_SIZE);
> + return;
> +}
> +
> +void dcache_disable(void)
> +{
> + flush_dcache(CONFIG_SYS_DCACHE_SIZE, CONFIG_SYS_DCACHELINE_SIZE);
> + return;
> +}
drop the useless "return;" statements
-mike
next prev parent reply other threads:[~2011-10-17 15:45 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 [this message]
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
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=201110171145.10990.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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