arm: do not force d-cache enable on all boards
authorAneesh V <aneesh@ti.com>
Tue, 16 Aug 2011 04:33:05 +0000 (04:33 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 4 Sep 2011 09:36:16 +0000 (11:36 +0200)
commitcba4b1809f043bf85c806e5a4e342f62bd5ded45
tree69a063b972d4ac839666a9b2c79203843d63936c
parent98a48c5de545e5a5eedba0a868024ef0d4ae5347
arm: do not force d-cache enable on all boards

c2dd0d45540397704de9b13287417d21049d34c6 added dcache_enable()
to board_init_r(). This enables d-cache for all ARM boards.
As a result some of the arm boards that are not cache-ready
are broken. Revert this change and allow platform code to
take the decision on d-cache enabling.

Also add some documentation for cache usage in ARM.

Signed-off-by: Aneesh V <aneesh@ti.com>
arch/arm/lib/board.c
arch/arm/lib/cache.c
doc/README.arm-caches [new file with mode: 0644]
include/common.h