[U-Boot] [PATCH 2/4] net: round up before calling flush_cache
Stefano Babic
sbabic at denx.de
Mon Apr 2 09:13:49 CEST 2012
On 01/04/2012 21:23, Mike Frysinger wrote:
> On Sunday 01 April 2012 09:22:59 Stefano Babic wrote:
>> If the range passed to flush_cache is not multiple of
>> ARCH_DMA_MINALIGN, a warning due to mislaignment is printed.
>> Detected with fec_mxc, mx35 boards:
>>
>> CACHE: Misaligned operation at range [80800000, 8083c310]
>
> warning on flushing is broken. the arch/arm/cpu/arm926ejs/cache.c
> code should probably be fixed instead.
mmhhh...I agree with you. Marek, really I am expecting that the same
message appears on MX28, not only on arm1136. Only if the size of the
downloaded file is a multiple of 32, the warning will not appear.
Anyway, the message is misleading. Do we need such kind of warning or
can we simply silently ignore it ?
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
=====================================================================
More information about the U-Boot
mailing list