u-boot-brain/arch/arm/cpu/arm1136
George G. Davis 409a07c9d7 ARM1136: Fix cache_flush() error and correct cpu_init_crit() comments
The ARM1136 cache_flush() function uses the "mcr p15, 0, rn, c7, c7, 0"
instruction which means "Invalidate Both Caches" when in fact the intent
is to clean and invalidate all caches.  So add an "mcr p15, 0, %0, c7,
c10, 0" instruction to "Clean Entire Data Cache" prior to the "Invalidate
Both Caches" instruction to insure that memory is consistent with any
dirty cache lines.

Also fix a couple of "flush v*" comments in ARM1136 cpu_init_crit() so
that they correctly describe the actual ARM1136 CP15 C7 Cache Operations
used.

Signed-off-by: George G. Davis <gdavis@mvista.com>
2010-06-01 06:44:09 -05:00
..
mx31 ARM: */timer.c: fix spelling and vertical alignment 2010-05-21 23:13:18 +02:00
omap24xx ARM: */timer.c: fix spelling and vertical alignment 2010-05-21 23:13:18 +02:00
config.mk arm: Move cpu/$CPU to arch/arm/cpu/$CPU 2010-04-13 09:13:24 +02:00
cpu.c ARM1136: Fix cache_flush() error and correct cpu_init_crit() comments 2010-06-01 06:44:09 -05:00
Makefile arm: Move cpu/$CPU to arch/arm/cpu/$CPU 2010-04-13 09:13:24 +02:00
start.S ARM1136: Fix cache_flush() error and correct cpu_init_crit() comments 2010-06-01 06:44:09 -05:00
u-boot.lds arm: Move cpu/$CPU to arch/arm/cpu/$CPU 2010-04-13 09:13:24 +02:00