ls1: config: Enable USB EHCI Host on LS1021AQDS
authorNikhil Badola <nikhil.badola@freescale.com>
Fri, 17 Oct 2014 06:07:25 +0000 (11:37 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 24 Nov 2014 17:27:22 +0000 (09:27 -0800)
Enable USB EHCI Host on LS1021AQDS

Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/ls1021aqds.h

index 6b8ee8dadaf76d9a2c7a29102ecdf29bd6d40bfb..8954d9dd442f0574beb5cb7ef296a767b6d90e13 100644 (file)
@@ -278,6 +278,23 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_FSL_ESDHC
 #define CONFIG_GENERIC_MMC
 
+/*
+ * USB
+ */
+#define CONFIG_HAS_FSL_DR_USB
+
+#ifdef CONFIG_HAS_FSL_DR_USB
+#define CONFIG_USB_EHCI
+
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_CMD_USB
+#define CONFIG_USB_STORAGE
+#define CONFIG_USB_EHCI_FSL
+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
+#define CONFIG_CMD_EXT2
+#endif
+#endif
+
 /*
  * eTSEC
  */