From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott McNutt Date: Sat, 07 Feb 2009 15:17:47 -0500 Subject: [U-Boot] Flag -mno-cache-volatile to bypass the cache In-Reply-To: <20090205184742.2C4ED8322908@gemini.denx.de> References: <51a313240902050730k4f03247etc73ac5579c1f7154@mail.gmail.com> <20090205184742.2C4ED8322908@gemini.denx.de> Message-ID: <498DEC6B.8060903@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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