* [U-Boot] [PATCH] powerpc/83xx: Define USB1 and USB2 base addr for MPC834x
@ 2013-10-19 14:03 Ramneek Mehresh
2013-10-21 16:21 ` York Sun
2013-11-13 22:45 ` york sun
0 siblings, 2 replies; 3+ messages in thread
From: Ramneek Mehresh @ 2013-10-19 14:03 UTC (permalink / raw)
To: u-boot
Define base addresse for both MPH(USB1) and DR(USB2) controllers
for MPC834x socs
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
---
arch/powerpc/include/asm/immap_83xx.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/powerpc/include/asm/immap_83xx.h b/arch/powerpc/include/asm/immap_83xx.h
index 3c86ff6..289f7ca 100644
--- a/arch/powerpc/include/asm/immap_83xx.h
+++ b/arch/powerpc/include/asm/immap_83xx.h
@@ -763,6 +763,7 @@ typedef struct immap {
u8 res7[0xC0000];
} immap_t;
+#ifndef CONFIG_MPC834x
#ifdef CONFIG_HAS_FSL_MPH_USB
#define CONFIG_SYS_MPC83xx_USB1_OFFSET 0x22000 /* use the MPH controller */
#define CONFIG_SYS_MPC83xx_USB2_OFFSET 0
@@ -770,6 +771,10 @@ typedef struct immap {
#define CONFIG_SYS_MPC83xx_USB1_OFFSET 0
#define CONFIG_SYS_MPC83xx_USB2_OFFSET 0x23000 /* use the DR controller */
#endif
+#else
+#define CONFIG_SYS_MPC83xx_USB1_OFFSET 0x22000
+#define CONFIG_SYS_MPC83xx_USB2_OFFSET 0x23000
+#endif
#elif defined(CONFIG_MPC8313)
typedef struct immap {
--
1.7.11.7
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] powerpc/83xx: Define USB1 and USB2 base addr for MPC834x
2013-10-19 14:03 [U-Boot] [PATCH] powerpc/83xx: Define USB1 and USB2 base addr for MPC834x Ramneek Mehresh
@ 2013-10-21 16:21 ` York Sun
2013-11-13 22:45 ` york sun
1 sibling, 0 replies; 3+ messages in thread
From: York Sun @ 2013-10-21 16:21 UTC (permalink / raw)
To: u-boot
Kim,
I can take this in if you ack it.
York
On 10/19/2013 07:03 AM, Ramneek Mehresh wrote:
> Define base addresse for both MPH(USB1) and DR(USB2) controllers
> for MPC834x socs
>
> Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
> ---
> arch/powerpc/include/asm/immap_83xx.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/powerpc/include/asm/immap_83xx.h b/arch/powerpc/include/asm/immap_83xx.h
> index 3c86ff6..289f7ca 100644
> --- a/arch/powerpc/include/asm/immap_83xx.h
> +++ b/arch/powerpc/include/asm/immap_83xx.h
> @@ -763,6 +763,7 @@ typedef struct immap {
> u8 res7[0xC0000];
> } immap_t;
>
> +#ifndef CONFIG_MPC834x
> #ifdef CONFIG_HAS_FSL_MPH_USB
> #define CONFIG_SYS_MPC83xx_USB1_OFFSET 0x22000 /* use the MPH controller */
> #define CONFIG_SYS_MPC83xx_USB2_OFFSET 0
> @@ -770,6 +771,10 @@ typedef struct immap {
> #define CONFIG_SYS_MPC83xx_USB1_OFFSET 0
> #define CONFIG_SYS_MPC83xx_USB2_OFFSET 0x23000 /* use the DR controller */
> #endif
> +#else
> +#define CONFIG_SYS_MPC83xx_USB1_OFFSET 0x22000
> +#define CONFIG_SYS_MPC83xx_USB2_OFFSET 0x23000
> +#endif
>
> #elif defined(CONFIG_MPC8313)
> typedef struct immap {
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] powerpc/83xx: Define USB1 and USB2 base addr for MPC834x
2013-10-19 14:03 [U-Boot] [PATCH] powerpc/83xx: Define USB1 and USB2 base addr for MPC834x Ramneek Mehresh
2013-10-21 16:21 ` York Sun
@ 2013-11-13 22:45 ` york sun
1 sibling, 0 replies; 3+ messages in thread
From: york sun @ 2013-11-13 22:45 UTC (permalink / raw)
To: u-boot
On Oct 19, 2013, at 7:03 AM, Ramneek Mehresh wrote:
> Define base addresse for both MPH(USB1) and DR(USB2) controllers
> for MPC834x socs
>
> Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Applied to u-boot-mpc85xx/master.
York
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-13 22:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-19 14:03 [U-Boot] [PATCH] powerpc/83xx: Define USB1 and USB2 base addr for MPC834x Ramneek Mehresh
2013-10-21 16:21 ` York Sun
2013-11-13 22:45 ` york sun
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.