Patchwork [U-Boot,v4,6/6] tam3517-common: Disable DCACHE since USB EHCI is enabled

login
register
mail settings
Submitter Tom Rini
Date June 20, 2012, 10:14 p.m.
Message ID <1340230468-12811-7-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/166158/
State Rejected
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - June 20, 2012, 10:14 p.m.
USB EHCI and DCACHE are not compatible, so disable DCACHE support at
build-time as run-time disable is insufficient for USB use.

Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/tam3517-common.h |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
index 3fc2c44..b9c96b9 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -100,6 +100,7 @@ 
 #define CONFIG_OMAP3_GPIO_5
 #define CONFIG_USB_EHCI
 #define CONFIG_USB_EHCI_OMAP
+#define CONFIG_SYS_DCACHE_OFF	/* USB_EHCI is unusable with DCACHE support */
 #define CONFIG_USB_ULPI
 #define CONFIG_USB_ULPI_VIEWPORT_OMAP
 #define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO	25