[U-Boot] [PATCH] ARM1136: add cache flush and invalidate operations

Stefano Babic
2012-03-30T15:04:32Z

On 30/03/2012 16:35, Anatolij Gustschin wrote:
> Hi Stefano,
>
> On Fri, 30 Mar 2012 16:20:19 +0200
> Stefano Babic <sbabic@denx.de> wrote:
>
>> On 30/03/2012 16:02, Anatolij Gustschin wrote:
>>> Since commit 5c1ad3e6f8ae578bbe30e09652f1531e9bc22031
>>
>> Hi Antolji,
>>
>>> (net: fec_mxc: allow use with cache enabled) the FEC_MXC
>>> driver uses flush_dcache_range() and invalidate_dcache_range()
>>> functions. This driver is also configured for ARM1136 based
>>> 'flea3' and 'mx35pdk' boards which currently do not build
>>> as there are no ARM1136 specific flush_dcache_range() and
>>
>> The issue is known - that is one reason why I marked the cache patches
>> for the -next. I do not know if we can run enough tests before release.
>>
>> Patches for M28 / MX5 / MX6 are not part of u-boot-imx, neither are yet
>> merged into u-boot mainline by Wolfgang. On which tree have you seen
>> that the patch was already merged ?
>
> I pulled u-boot-arm.git master for build tests and see this
> change on the FEC driver in resulting tree.

However, Albert has sent a report
http://www.mail-archive.com/u-boot at lists.denx.de/msg80566.html

a none of these boards was broken. But I see now that other boards are
affected (the mx28evk does not compile due to missing CONFIG_APBH_DMA).

Albert, are these patches part of your pull-request to Wolfgang ?

Stefano

--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================