]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: rpi_b: disable rpi_b dcache explicitly
authorStephen Warren <swarren@wwwdotorg.org>
Tue, 29 Jan 2013 16:37:39 +0000 (16:37 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 20 Mar 2013 14:29:45 +0000 (15:29 +0100)
There appears to be no implementation of flush_dcache_range() for
ARM1176, so explicitly disable dcache support to avoid references to
that function from the LCD core in the next patch. This was presumably
not noticed before simply because no drivers for the rpi_b were
attempting DMA.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
include/configs/rpi_b.h

index cf62e45e8b7dd12b3776009e2576b2b9221e926b..5db31f58be982d41eca2a272f949d33389aa8793 100644 (file)
@@ -23,6 +23,7 @@
 #define CONFIG_ARM1176
 #define CONFIG_BCM2835
 #define CONFIG_ARCH_CPU_INIT
+#define CONFIG_SYS_DCACHE_OFF
 /*
  * 2835 is a SKU in a series for which the 2708 is the first or primary SoC,
  * so 2708 has historically been used rather than a dedicated 2835 ID.