From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc/83xx: Define USB1 and USB2 base addr for MPC834x
Date: Mon, 21 Oct 2013 09:21:29 -0700 [thread overview]
Message-ID: <52655489.5050004@freescale.com> (raw)
In-Reply-To: <1382191384-1935-1-git-send-email-ramneek.mehresh@freescale.com>
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 {
>
next prev parent reply other threads:[~2013-10-21 16:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-11-13 22:45 ` york sun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52655489.5050004@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.