Skip to content
Snippets Groups Projects
Commit 4e2e0df9 authored by ramneek mehresh's avatar ramneek mehresh Committed by York Sun
Browse files

powerpc/83xx: Define USB1 and USB2 base addr for MPC834x


Define base addresse for both MPH(USB1) and DR(USB2) controllers
for MPC834x socs

Signed-off-by: default avatarRamneek Mehresh <ramneek.mehresh@freescale.com>
parent 0d7ba2ea
No related branches found
No related tags found
No related merge requests found
...@@ -763,6 +763,7 @@ typedef struct immap { ...@@ -763,6 +763,7 @@ typedef struct immap {
u8 res7[0xC0000]; u8 res7[0xC0000];
} immap_t; } immap_t;
#ifndef CONFIG_MPC834x
#ifdef CONFIG_HAS_FSL_MPH_USB #ifdef CONFIG_HAS_FSL_MPH_USB
#define CONFIG_SYS_MPC83xx_USB1_OFFSET 0x22000 /* use the MPH controller */ #define CONFIG_SYS_MPC83xx_USB1_OFFSET 0x22000 /* use the MPH controller */
#define CONFIG_SYS_MPC83xx_USB2_OFFSET 0 #define CONFIG_SYS_MPC83xx_USB2_OFFSET 0
...@@ -770,6 +771,10 @@ typedef struct immap { ...@@ -770,6 +771,10 @@ typedef struct immap {
#define CONFIG_SYS_MPC83xx_USB1_OFFSET 0 #define CONFIG_SYS_MPC83xx_USB1_OFFSET 0
#define CONFIG_SYS_MPC83xx_USB2_OFFSET 0x23000 /* use the DR controller */ #define CONFIG_SYS_MPC83xx_USB2_OFFSET 0x23000 /* use the DR controller */
#endif #endif
#else
#define CONFIG_SYS_MPC83xx_USB1_OFFSET 0x22000
#define CONFIG_SYS_MPC83xx_USB2_OFFSET 0x23000
#endif
#elif defined(CONFIG_MPC8313) #elif defined(CONFIG_MPC8313)
typedef struct immap { typedef struct immap {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment