[U-Boot] [PATCH v5 3/7] arm, arm926ejs: Flush the data cache before disabling it

Heiko Schocher hs at denx.de
Thu Feb 2 07:34:58 CET 2012


Hello Christian,

Christian Riesch wrote:
> From: Sughosh Ganu <urwithsughosh at gmail.com>
> 
> The current implementation invalidates the data cache before turning it
> off and causes problems on the hawkboard. See the discussion in
> http://lists.denx.de/pipermail/u-boot/2012-January/115212.html
> 
> According to the ARM926EJ-S Technical Reference Manual, the cache should
> be flushed instead.
> 
> Also fix the comments to match code.
> 
> Signed-off-by: Sughosh Ganu <urwithsughosh at gmail.com>
> 
> Rebased and corrected commit message.
> 
> Signed-off-by: Christian Riesch <christian.riesch at omicron.at>
> Cc: Albert Aribaud <albert.u.boot at aribaud.net>
> Cc: Tom Rini <trini at ti.com>
> ---
>  arch/arm/cpu/arm926ejs/start.S |   12 ++++++++----
>  1 files changed, 8 insertions(+), 4 deletions(-)


Acked-by: Heiko Schocher <hs at denx.de>

Tested on the cam_enc_4xx and enbw_cmc board, so:

Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list