powerpc/mpc8544ds: Add USB controller support for MPC8544DS
authorHongtao Jia <B38951@freescale.com>
Thu, 20 Dec 2012 19:39:53 +0000 (19:39 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 30 Jan 2013 17:25:10 +0000 (11:25 -0600)
USB controller in uboot is a required feature for MPC8544DS. Without this
support there is no 'usb' command in uboot.

Signed-off-by: Jia Hongtao <B38951@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
include/configs/MPC8544DS.h

index 83b8668bac88b094480342d13093f7a9c0d106c2..d5f3c5f56f293404b4027dd63b661f142afa5ba3 100644 (file)
@@ -415,6 +415,18 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
     #define CONFIG_CMD_EXT2
 #endif
 
+/*
+ * USB
+ */
+#define CONFIG_USB_EHCI
+
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_CMD_USB
+#define CONFIG_USB_EHCI_PCI
+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
+#define CONFIG_USB_STORAGE
+#define CONFIG_PCI_EHCI_DEVICE                 0
+#endif
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */