summaryrefslogtreecommitdiff
path: root/include/linux/usb/xhci-fsl.h
diff options
context:
space:
mode:
authorNikhil Badola <nikhil.badola@freescale.com>2015-06-23 09:18:03 +0530
committerMarek Vasut <marex@denx.de>2015-07-22 08:55:45 +0200
commit909a1ab2f05a53b2e5a0c604a88c06adc8b4929c (patch)
tree3ef18c4a2575781da85e866f6d0f08c3d7548d51 /include/linux/usb/xhci-fsl.h
parent667f4dd90f0f40f8d4fde7ef280550ef5f7946f8 (diff)
downloadu-boot-imx-909a1ab2f05a53b2e5a0c604a88c06adc8b4929c.zip
u-boot-imx-909a1ab2f05a53b2e5a0c604a88c06adc8b4929c.tar.gz
u-boot-imx-909a1ab2f05a53b2e5a0c604a88c06adc8b4929c.tar.bz2
include: usb: Move USB controller base address mapping
Move USB controller Base address mapping from ls102xa immap to fsl xhci header. This is required to remove any warnings when controller base addresses are mapped for multiple platforms in their respective files. Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Diffstat (limited to 'include/linux/usb/xhci-fsl.h')
-rw-r--r--include/linux/usb/xhci-fsl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/usb/xhci-fsl.h b/include/linux/usb/xhci-fsl.h
index 8eaab2c..b07bf19 100644
--- a/include/linux/usb/xhci-fsl.h
+++ b/include/linux/usb/xhci-fsl.h
@@ -51,4 +51,11 @@ struct fsl_xhci {
struct dwc3 *dwc3_reg;
};
+#if defined(CONFIG_LS102XA)
+#define CONFIG_SYS_FSL_XHCI_USB1_ADDR CONFIG_SYS_LS102XA_XHCI_USB1_ADDR
+#define CONFIG_SYS_FSL_XHCI_USB2_ADDR 0
+#endif
+
+#define FSL_USB_XHCI_ADDR {CONFIG_SYS_FSL_XHCI_USB1_ADDR, \
+ CONFIG_SYS_FSL_XHCI_USB2_ADDR}
#endif /* _ASM_ARCH_XHCI_FSL_H_ */