[U-Boot] [PATCH 2/7] serial_mxc: add support for Freescale's i.MX35 processor

Wolfgang Denk wd at denx.de
Wed Jan 19 08:19:54 CET 2011


Dear Stefano Babic,

In message <1295012124-15551-2-git-send-email-sbabic at denx.de> you wrote:
> The patch adds UART support for the i.MX35 processor.
> 
> Signed-off-by: Stefano Babic <sbabic at denx.de>
> ---
>  drivers/serial/serial_mxc.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c
> index f96b21f..2dcae40 100644
> --- a/drivers/serial/serial_mxc.c
> +++ b/drivers/serial/serial_mxc.c
> @@ -50,9 +50,9 @@
>  #define UART_PHYS 0x1001b000
>  #elif defined(CONFIG_SYS_MX27_UART6)
>  #define UART_PHYS 0x1001c000
> -#elif defined(CONFIG_SYS_MX51_UART1)
> +#elif defined(CONFIG_SYS_MX51_UART1) || defined(CONFIG_SYS_MX35_UART1)
>  #define UART_PHYS UART1_BASE_ADDR
> -#elif defined(CONFIG_SYS_MX51_UART2)
> +#elif defined(CONFIG_SYS_MX51_UART2) || defined(CONFIG_SYS_MX35_UART2)

Please sort entries - CONFIG_SYS_MX35_UART2 goes before
CONFIG_SYS_MX51_UART2.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is nothing in this world constant but inconstancy.      - Swift


More information about the U-Boot mailing list