From: Ramneek Mehresh <ramneek.mehresh@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] include:configs:ls1021aqds: Enable USB IP support
Date: Wed, 22 Apr 2015 12:19:43 +0530 [thread overview]
Message-ID: <1429685383-6505-4-git-send-email-ramneek.mehresh@freescale.com> (raw)
In-Reply-To: <1429685383-6505-1-git-send-email-ramneek.mehresh@freescale.com>
Enable USB IP support for both EHCI and XHCI for
ls1021aqds platform
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
---
include/configs/ls1021aqds.h | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 5de416d..1aa2f94 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -423,19 +423,31 @@ unsigned long get_board_ddr_clk(void);
/*
* USB
*/
-#define CONFIG_HAS_FSL_DR_USB
+/* EHCI Support - disbaled by default */
+/*#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
-#ifdef CONFIG_USB_EHCI
+/*XHCI Support - enabled by default*/
+#define CONFIG_HAS_FSL_XHCI_USB
+
+#ifdef CONFIG_HAS_FSL_XHCI_USB
+#define CONFIG_USB_XHCI_FSL
+#define CONFIG_USB_XHCI_DWC3
+#define CONFIG_USB_XHCI
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
+#endif
+
+#if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_XHCI_USB)
#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
/*
* Video
--
1.8.3.1
prev parent reply other threads:[~2015-04-22 6:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-22 6:49 [U-Boot] [PATCH 1/4] drivers:usb:dwc3: Add DWC3 controller driver support Ramneek Mehresh
2015-04-22 6:49 ` [U-Boot] [PATCH 2/4] drivers:usb:fsl: Add XHCI " Ramneek Mehresh
2015-04-22 11:47 ` Marek Vasut
2015-04-23 6:54 ` Ramneek Mehresh
2015-04-22 6:49 ` [U-Boot] [PATCH 3/4] include:configs:ls1021atwr: Enable USB IP support Ramneek Mehresh
2015-04-22 11:48 ` Marek Vasut
2015-04-23 6:51 ` Ramneek Mehresh
2015-04-23 11:56 ` Marek Vasut
2015-04-23 11:59 ` Ramneek Mehresh
2015-04-22 6:49 ` Ramneek Mehresh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1429685383-6505-4-git-send-email-ramneek.mehresh@freescale.com \
--to=ramneek.mehresh@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.