[U-Boot] [PATCH 01/12] da850: indicate cache usage disable in config file

Laurence Withers lwithers at guralp.com
Tue Aug 2 21:37:36 CEST 2011


On Tue, Aug 02, 2011 at 06:06:42PM +0200, Wolfgang Denk wrote:
> Dear nagabhushana.netagunte at ti.com,
> 
> In message <1312299792-16415-2-git-send-email-nagabhushana.netagunte at ti.com> you wrote:
> > From: Nagabhushana Netagunte <nagabhushana.netagunte at ti.com>
> > 
> > As per new cache management framework, if the caches are not used
> > in u-boot, it needs to be explicitly indicated through macros in
> > config file. da850 doesnt support I-CACHE, D-CACHE or L2-CACHE
> > usage in u-boot which is indicated by the following macro definitions,
> 
> What exactly does this mean?  Does it mean that
> 
> 1) the hardware does not have working caches, so there is no chance to
>    ever add such support in software?
> 
> 2) the hardware does have working caches, but this current software
>    support is simple / incomplete, and cache support will be added
>    later?

I am also working on a U-Boot port to a DA850-based board, and I can confirm
that both I-cache and D-cache do work correctly. However, there are cache
coherency issues when using the Ethernet driver (DaVinci EMAC). There may
also be other drivers that fail similarly.

If driver issues are the reason for disabling the caches then the commit
message should reflect this.

Bye for now,
-- 
Laurence Withers, <lwithers at guralp.com>                http://www.guralp.com/
Direct tel:+447753988197 or tel:+443333408643               Software Engineer
General support queries: <support at guralp.com>         CMG-DCM CMG-EAM CMG-NAM


More information about the U-Boot mailing list