public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ls1:config: Add USB support for ls1021atwr
@ 2014-10-21 11:36 Ramneek Mehresh
  2014-10-21 11:36 ` [U-Boot] [PATCH] ls1:config: Add XHCI support for ls1021aqds Ramneek Mehresh
  2014-12-17 23:08 ` [U-Boot] [PATCH] ls1:config: Add USB support for ls1021atwr York Sun
  0 siblings, 2 replies; 6+ messages in thread
From: Ramneek Mehresh @ 2014-10-21 11:36 UTC (permalink / raw)
  To: u-boot

Add USB EHCI/XHCI support for ls1021atwr platform and
making xHCI as default mode

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
---
 include/configs/ls1021atwr.h | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 45b2272..109e58c 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -28,6 +28,34 @@
 #define CONFIG_SYS_INIT_RAM_SIZE	OCRAM_SIZE
 
 /*
+ * USB
+ */
+/*EHCI Support*/
+/*#define CONFIG_HAS_FSL_DR_USB*/
+
+#ifdef CONFIG_HAS_FSL_DR_USB
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_FSL
+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
+#endif
+
+/*XHCI Support*/
+#define CONFIG_HAS_FSL_XHCI_USB
+
+#ifdef CONFIG_HAS_FSL_XHCI_USB
+#define CONFIG_USB_XHCI
+#define CONFIG_USB_XHCI_FSL
+#define CONFIG_USB_MAX_CONTROLLER_COUNT        1
+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS     1
+#endif
+
+#if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_XHCI_USB)
+#define CONFIG_CMD_USB
+#define CONFIG_USB_STORAGE
+#define CONFIG_CMD_EXT2
+#endif
+
+/*
  * Generic Timer Definitions
  */
 #define GENERIC_TIMER_CLK		12500000
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-15  4:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-21 11:36 [U-Boot] [PATCH] ls1:config: Add USB support for ls1021atwr Ramneek Mehresh
2014-10-21 11:36 ` [U-Boot] [PATCH] ls1:config: Add XHCI support for ls1021aqds Ramneek Mehresh
2014-12-17 23:07   ` York Sun
2014-12-17 23:08 ` [U-Boot] [PATCH] ls1:config: Add USB support for ls1021atwr York Sun
2015-01-14 18:46   ` York Sun
2015-01-15  4:47     ` Ramneek Mehresh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox