From: ivanchuklist ivanchu Date: Thu, 5 Feb 2009 16:30:04 +0100 Subject: [U-Boot] Flag -mno-cache-volatile to bypass the cache Message-ID: <51a313240902050730k4f03247etc73ac5579c1f7154@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi list, I use readl() or writel() to access the hardware but i found a compiler flag that bypass the cache for all volatile variables, it uses io versions of load/store functions. So, what should i do, make use of write/read functions or insert this flag in the makefile?. It's a nios2 platform. Thank you in advance. Ivan Llopard.