All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] fsl/usb: enable usb feature for ls1046ardb
@ 2016-11-15  2:47 jerry.huang at nxp.com
  2017-01-19 17:24 ` york sun
  0 siblings, 1 reply; 2+ messages in thread
From: jerry.huang at nxp.com @ 2016-11-15  2:47 UTC (permalink / raw)
  To: u-boot

Enable usb feature for ls1046ardb

Signed-off-by: Changming Huang <jerry.huang@nxp.com>
---
 include/configs/ls1046ardb.h |   12 ++++++++++++
 include/linux/usb/xhci-fsl.h |    2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index 2fe8fc1..f0719ad 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -211,6 +211,18 @@
 #define CONFIG_SPI_FLASH_BAR
 #endif
 
+/* USB */
+#define CONFIG_HAS_FSL_XHCI_USB
+#ifdef CONFIG_HAS_FSL_XHCI_USB
+#define CONFIG_USB_XHCI_HCD
+#define CONFIG_USB_XHCI_FSL
+#define CONFIG_USB_XHCI_DWC3
+#define CONFIG_USB_MAX_CONTROLLER_COUNT         3
+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS      2
+#define CONFIG_CMD_USB
+#define CONFIG_USB_STORAGE
+#endif
+
 /* SATA */
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
diff --git a/include/linux/usb/xhci-fsl.h b/include/linux/usb/xhci-fsl.h
index 15cac40..1fa3161 100644
--- a/include/linux/usb/xhci-fsl.h
+++ b/include/linux/usb/xhci-fsl.h
@@ -62,7 +62,7 @@ struct fsl_xhci {
 #define CONFIG_SYS_FSL_XHCI_USB1_ADDR CONFIG_SYS_XHCI_USB1_ADDR
 #define CONFIG_SYS_FSL_XHCI_USB2_ADDR CONFIG_SYS_XHCI_USB2_ADDR
 #define CONFIG_SYS_FSL_XHCI_USB3_ADDR 0
-#elif defined(CONFIG_LS1043A)
+#elif defined(CONFIG_LS1043A) || defined(CONFIG_ARCH_LS1046A)
 #define CONFIG_SYS_FSL_XHCI_USB1_ADDR CONFIG_SYS_XHCI_USB1_ADDR
 #define CONFIG_SYS_FSL_XHCI_USB2_ADDR CONFIG_SYS_XHCI_USB2_ADDR
 #define CONFIG_SYS_FSL_XHCI_USB3_ADDR CONFIG_SYS_XHCI_USB3_ADDR
-- 
1.7.9.5

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

* [U-Boot] [PATCH] fsl/usb: enable usb feature for ls1046ardb
  2016-11-15  2:47 [U-Boot] [PATCH] fsl/usb: enable usb feature for ls1046ardb jerry.huang at nxp.com
@ 2017-01-19 17:24 ` york sun
  0 siblings, 0 replies; 2+ messages in thread
From: york sun @ 2017-01-19 17:24 UTC (permalink / raw)
  To: u-boot

On 11/14/2016 07:56 PM, jerry.huang at nxp.com wrote:
> Enable usb feature for ls1046ardb
>
> Signed-off-by: Changming Huang <jerry.huang@nxp.com>
> ---

Applied to fsl-qoriq master, awaiting upstream. Thanks.

York

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

end of thread, other threads:[~2017-01-19 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-15  2:47 [U-Boot] [PATCH] fsl/usb: enable usb feature for ls1046ardb jerry.huang at nxp.com
2017-01-19 17:24 ` york sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.