[U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC
Ben Gardiner
bengardiner at nanometrics.ca
Mon Nov 14 15:07:16 CET 2011
Hi Tom,
On Fri, Nov 11, 2011 at 6:53 PM, Tom Rini <tom.rini at gmail.com> wrote:
> On Fri, Nov 11, 2011 at 3:10 PM, Andy Fleming <afleming at gmail.com> wrote:
>> On Fri, Nov 11, 2011 at 3:56 PM, Ilya Yanok <yanok at emcraft.com> wrote:
>>> DaVinci EMAC driver has no support for running with D-Cache enabled so
>>> disable D-Cache on all DaVinci boards with EMAC device.
>>>
>>> Signed-off-by: Ilya Yanok <yanok at emcraft.com>
>>
>>
>> I think it might be better to disable DCACHE as a result of EMAC being
>> enabled, to make it clear in the config why that's happening.
>
> I agree, and I was going to propose something similar. Anecdotally
> (which is all I can do atm), I had the same kind of issue a few months
> back on one of these platforms. Ben, since you've been most recently
> active on the davinci side of this driver, do you object to turning
> off dcache until there's flush ops for the platform?
Sounds reasonable.
Note: if conditional disabling of DCACHE is going to be added for the
boards listed in the path of this subject please remember to make
da850evm also conditional since it had its dcache disabled explicitly
in commit 'bd65d00 da850: indicate cache usage disable in config file'
Best Regards,
Ben Gardiner
---
Nanometrics Inc.
http://www.nanometrics.ca
More information about the U-Boot
mailing list