From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alessandro Rubini Date: Tue, 26 Jan 2010 22:50:10 +0100 Subject: [U-Boot] [PATCH RFC 0/2] dcache on ARM In-Reply-To: <4B5F22A8.1000804@ge.com> References: <4B5F22A8.1000804@ge.com> <20100126161608.GA20946@morgana.gnudd.com> Message-ID: <20100126215010.GA26452@morgana.gnudd.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Nick. > On TI DA830, the 1.0 & 1.1 revision of the silicon have a data caching > bug. You can use data caching, but only in write thru' mode. I see. So instead of both C and B you just need to C bit set in the page table, and no B. I propose to allow an extra option for write-back, leaving write-through as the default. This matches the blackfin, which has CONFIG_DCACHE_WB as an option, and leaves a safer default for those who won't explicitly require WB policy. Could you please confirm my patch works on that board after changing the magic bits from 0x1e to 0x1a ? (I'll use symbolic constants anyways in V2, this was just a quick RFC to see if the approach is acceptable). /alessandro