diff options
author | ramneek mehresh <ramneek.mehresh@freescale.com> | 2013-09-12 16:35:49 +0530 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-10-24 09:35:09 -0700 |
commit | 77354e9d502837c156149109f4dd36b7bc12d6b3 (patch) | |
tree | 1e7b8a960f284f6ef9b8e97f45bf79cf9c5c3aa2 /arch/powerpc/include/asm/immap_512x.h | |
parent | f1810d851c475740889d82127c53a70cf06f912c (diff) |
powerpc/usb:Differentiate USB controller base address
Introduce different macros for storing addresses of multiple
USB controllers. This is required for successful initialization
and usage of multiple USB controllers inside u-boot
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Diffstat (limited to 'arch/powerpc/include/asm/immap_512x.h')
-rw-r--r-- | arch/powerpc/include/asm/immap_512x.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/immap_512x.h b/arch/powerpc/include/asm/immap_512x.h index 814a53577e..bed80aa933 100644 --- a/arch/powerpc/include/asm/immap_512x.h +++ b/arch/powerpc/include/asm/immap_512x.h @@ -1255,9 +1255,9 @@ static inline u32 get_pata_base (void) } #endif /* __ASSEMBLY__ */ -#define CONFIG_SYS_MPC512x_USB_OFFSET 0x4000 -#define CONFIG_SYS_MPC512x_USB_ADDR \ - (CONFIG_SYS_IMMR + CONFIG_SYS_MPC512x_USB_OFFSET) +#define CONFIG_SYS_MPC512x_USB1_OFFSET 0x4000 +#define CONFIG_SYS_MPC512x_USB1_ADDR \ + (CONFIG_SYS_IMMR + CONFIG_SYS_MPC512x_USB1_OFFSET) #define IIM_BASE_ADDR (CONFIG_SYS_IMMR + offsetof(immap_t, iim)) |