public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-BOOT][PATCH 4/5] serial_mxc: add support for MX53 processor
Date: Fri, 18 Jun 2010 11:52:02 +0200	[thread overview]
Message-ID: <4C1B41C2.1080208@denx.de> (raw)
In-Reply-To: <12768745721889-git-send-email-r64343@freescale.com>

Jason Liu wrote:
> The patch adds support for the Freescale mx53 processor.
> 
> Signed-off-by:Jason Liu <r64343@freescale.com>
> ---

Hi Jason,

>  drivers/serial/serial_mxc.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c
> index 4b93e7b..e488595 100644
> --- a/drivers/serial/serial_mxc.c
> +++ b/drivers/serial/serial_mxc.c
> @@ -55,6 +55,13 @@
>  #define UART_PHYS UART2_BASE_ADDR
>  #elif defined(CONFIG_SYS_MX51_UART3)
>  #define UART_PHYS UART3_BASE_ADDR
> +#elif defined(CONFIG_SYS_MX53_UART1)
> +#define UART_PHYS UART1_BASE_ADDR
> +#elif defined(CONFIG_SYS_MX53_UART2)
> +#define UART_PHYS UART2_BASE_ADDR
> +#elif defined(CONFIG_SYS_MX53_UART3)
> +#define UART_PHYS UART3_BASE_ADDR

There are really no difference between MX51 and MX53, both set the same
values to UART_PHYS (at least as constant: even if the physical address
is different, must be unified at this place). I suggest something like
CONFIG_SYS_MX_UART1/2/3, that must be used for both MX51 and MX53.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2010-06-18  9:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18 15:22 [U-Boot] [U-BOOT][PATCH 1/5] MX53: Add initial support for the Freescale MX53 Jason Liu
2010-06-18  9:23 ` Stefano Babic
2010-06-18  9:50   ` Liu Hui-R64343
     [not found]   ` <AANLkTim8Xh0VrGc6lIm67lHgcS3PDTJzxB39R819j7GU@mail.gmail.com>
2010-06-23 14:03     ` Stefano Babic
2010-06-18 15:22 ` [U-Boot] [U-BOOT][PATCH 2/5] MX53: Add register definitions Jason Liu
2010-06-18  9:35   ` Stefano Babic
2010-06-18 15:22 ` [U-Boot] [U-BOOT][PATCH 3/5] MX53: Add pin and multiplexer definitions Jason Liu
2010-06-18  9:48   ` Stefano Babic
2010-06-18  9:54     ` Liu Hui-R64343
2010-06-18 15:22 ` [U-Boot] [U-BOOT][PATCH 4/5] serial_mxc: add support for MX53 processor Jason Liu
2010-06-18  9:52   ` Stefano Babic [this message]
2010-06-18  9:55     ` Liu Hui-R64343
2010-06-18 15:22 ` [U-Boot] [U-BOOT][PATCH 5/5] Add initial support for Freescale mx53evk board Jason Liu
2010-06-18  9:45   ` Wolfgang Denk
2010-06-18 10:31   ` Stefano Babic

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=4C1B41C2.1080208@denx.de \
    --to=sbabic@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox