summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch')
-rw-r--r--recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch b/recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch
new file mode 100644
index 00000000..a2776e9a
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch
@@ -0,0 +1,33 @@
1From 03b9bca863257cb24d8f11bb773ad2b8dff820c6 Mon Sep 17 00:00:00 2001
2From: Jason Kridner <jdk@ti.com>
3Date: Sun, 18 Sep 2011 12:16:31 -0400
4Subject: [PATCH 1/3] HACK: beagleboard: config: disable cache for USB
5
6There is currently a bug in the USB code for the BeagleBoard that is
7worked-around by disabling the cache.
8
9See http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/108224
10
11Signed-off-by: Jason Kridner <jdk@ti.com>
12---
13 include/configs/omap3_beagle.h | 5 +++++
14 1 files changed, 5 insertions(+), 0 deletions(-)
15
16diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
17index 1369c89..8a84d7a 100644
18--- a/include/configs/omap3_beagle.h
19+++ b/include/configs/omap3_beagle.h
20@@ -36,6 +36,10 @@
21 #define CONFIG_OMAP3430 1 /* which is in a 3430 */
22 #define CONFIG_OMAP3_BEAGLE 1 /* working with BEAGLE */
23
24+/* TODO: WORK-AROUND for bug in BeagleBoard-specific USB */
25+#define CONFIG_SYS_ICACHE_OFF
26+#define CONFIG_SYS_DCACHE_OFF
27+
28 #define CONFIG_SDRC /* The chip has SDRC controller */
29
30 #include <asm/arch/cpu.h> /* get chip and board defs */
31--
321.7.4.1
33