[U-Boot] [PATCH 6/6] OMAP4: config: Add usb support for panda config.

Govindraj.R govindraj.raja at ti.com
Wed Dec 14 13:09:13 CET 2011


From: "Govindraj.R" <govindraj.raja at ti.com>

Enable usb ehci support and Ethernet support for panda board.
Disable dcache as usb uses dma operations and to avoid any
resulting cache coherency issue.

Signed-off-by: Govindraj.R <govindraj.raja at ti.com>
---
 include/configs/omap4_common.h |    1 +
 include/configs/omap4_panda.h  |   21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index a989721..43a98f9 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -152,6 +152,7 @@
 	"loadaddr=0x82000000\0" \
 	"console=ttyO2,115200n8\0" \
 	"usbtty=cdc_acm\0" \
+	"usbethaddr=00:02:03:04:05:06\0" \
 	"vram=16M\0" \
 	"mmcdev=0\0" \
 	"mmcroot=/dev/mmcblk0p2 rw\0" \
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index e9ef2a3..1475012 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -33,7 +33,28 @@
  */
 #define CONFIG_PANDA		1	/* working with Panda */
 
+#define CONFIG_SYS_DCACHE_OFF	1
+
+/* USB UHH support options */
+#define CONFIG_CMD_USB		1
+#define CONFIG_USB_HOST		1
+#define CONFIG_USB_EHCI		1
+#define CONFIG_USB_EHCI_OMAP	1
+#define CONFIG_USB_STORAGE	1
+#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
+
+/* USB Networking options */
+#define CONFIG_USB_HOST_ETHER		1
+#define CONFIG_USB_ETHER_SMSC95XX	1
+
+#define CONFIG_UBOOT_ENABLE_PADS_ALL	1
+
+#define CONFIG_NET_MULTI	1
+#define CONFIG_CMD_PING		1
+#define CONFIG_CMD_DHCP		1
+
 #include <configs/omap4_common.h>
+#define CONFIG_CMD_NET		1
 
 /* GPIO */
 #define CONFIG_CMD_GPIO
-- 
1.7.5.4



More information about the U-Boot mailing list