[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips
Subject:    Re: [PATCH] MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port
From:       Lars-Peter Clausen <lars () metafoo ! de>
Date:       2013-09-28 17:07:07
Message-ID: 52470CBB.30406 () metafoo ! de
[Download RAW message or body]

On 09/28/2013 05:49 PM, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>

Looks good.

Acked-by: Lars-Peter Clausen <lars@metafoo.de>

> ---
>  arch/mips/boot/compressed/uart-16550.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/mips/boot/compressed/uart-16550.c b/arch/mips/boot/compressed/uart-16550.c
> index c01d343..869172d 100644
> --- a/arch/mips/boot/compressed/uart-16550.c
> +++ b/arch/mips/boot/compressed/uart-16550.c
> @@ -19,8 +19,8 @@
>  #endif
>  
>  #ifdef CONFIG_MACH_JZ4740
> -#define UART0_BASE  0xB0030000
> -#define PORT(offset) (UART0_BASE + (4 * offset))
> +#include <asm/mach-jz4740/base.h>
> +#define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset))
>  #endif
>  
>  #ifdef CONFIG_CPU_XLR
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic