From: Scott McNutt <smcnutt@psyent.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Flag -mno-cache-volatile to bypass the cache
Date: Sat, 07 Feb 2009 15:17:47 -0500 [thread overview]
Message-ID: <498DEC6B.8060903@psyent.com> (raw)
In-Reply-To: <20090205184742.2C4ED8322908@gemini.denx.de>
> Please continue to use the I/O accessor functions. Your specific
> compiler version may understand such an option, but don't expect that
> any other compiler or architecture provides the same - so better stay
> portable and use what was designed exactly for this purpose.
Yes, please do use the accessor functions. This particular compiler
flag is the result of someone's brain fart -- and does little more
than confuse the meaning of the volatile keyword (which has absolutely
_nothing_ to do with cache access) ... while promoting poorly considered
code.
--Scott
prev parent reply other threads:[~2009-02-07 20:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-05 15:30 [U-Boot] Flag -mno-cache-volatile to bypass the cache ivanchuklist ivanchu
2009-02-05 18:47 ` Wolfgang Denk
2009-02-05 20:01 ` ivanchuklist ivanchu
2009-02-05 21:18 ` Wolfgang Denk
2009-02-06 16:26 ` ivanchuklist ivanchu
2009-02-07 11:07 ` ivanchuklist ivanchu
2009-02-07 20:17 ` Scott McNutt [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=498DEC6B.8060903@psyent.com \
--to=smcnutt@psyent.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