summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVivek Mahajan <vivek.mahajan@freescale.com>2009-05-21 17:32:48 +0530
committerWolfgang Denk <wd@denx.de>2009-06-12 20:47:17 +0200
commita07bf180efc3c0de4a89a3bd49a7c7584dfb95a8 (patch)
tree4b5980757d91a8b6ff07f9ed8f20c60e5ae37010 /include
parent4ef01010aa4799c759d75e67007fdd3a38c88c8a (diff)
downloadu-boot-imx-a07bf180efc3c0de4a89a3bd49a7c7584dfb95a8.zip
u-boot-imx-a07bf180efc3c0de4a89a3bd49a7c7584dfb95a8.tar.gz
u-boot-imx-a07bf180efc3c0de4a89a3bd49a7c7584dfb95a8.tar.bz2
mpc85xx: USB: Add support
The following patch adds 85xx-specific USB support and also revamps Copyright in immap_85xx.h Signed-off-by: Vivek Mahajan <vivek.mahajan@freescale.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/immap_85xx.h5
-rw-r--r--include/usb/ehci-fsl.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/immap_85xx.h
index d3c6b86..06b4dc3 100644
--- a/include/asm-ppc/immap_85xx.h
+++ b/include/asm-ppc/immap_85xx.h
@@ -1,7 +1,7 @@
/*
* MPC85xx Internal Memory Map
*
- * Copyright 2007 Freescale Semiconductor.
+ * Copyright 2007-2009 Freescale Semiconductor, Inc.
*
* Copyright(c) 2002,2003 Motorola Inc.
* Xianghua Xiao (x.xiao@motorola.com)
@@ -1732,5 +1732,8 @@ typedef struct ccsr_gur {
#define CONFIG_SYS_MPC85xx_SERDES1_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES2_OFFSET)
#define CONFIG_SYS_MPC85xx_SERDES2_OFFSET (0xE3100)
#define CONFIG_SYS_MPC85xx_SERDES2_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES2_OFFSET)
+#define CONFIG_SYS_MPC85xx_USB_OFFSET 0x22000
+#define CONFIG_SYS_MPC85xx_USB_ADDR \
+ (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_USB_OFFSET)
#endif /*__IMMAP_85xx__*/
diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci-fsl.h
index 7ae948c..1140561 100644
--- a/include/usb/ehci-fsl.h
+++ b/include/usb/ehci-fsl.h
@@ -87,6 +87,8 @@
#if defined(CONFIG_MPC83XX)
#define CONFIG_SYS_MPC8xxx_USB_ADDR CONFIG_SYS_MPC83xx_USB_ADDR
+#elif defined(CONFIG_MPC85xx)
+#define CONFIG_SYS_MPC8xxx_USB_ADDR CONFIG_SYS_MPC85xx_USB_ADDR
#endif
/*