* [PATCH] MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port
@ 2013-09-28 15:49 Antony Pavlov
2013-09-28 17:07 ` Lars-Peter Clausen
0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2013-09-28 15:49 UTC (permalink / raw)
To: linux-mips; +Cc: Ralf Baechle, Lars-Peter Clausen, Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
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
--
1.8.4.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port
2013-09-28 15:49 [PATCH] MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port Antony Pavlov
@ 2013-09-28 17:07 ` Lars-Peter Clausen
0 siblings, 0 replies; 2+ messages in thread
From: Lars-Peter Clausen @ 2013-09-28 17:07 UTC (permalink / raw)
To: Antony Pavlov; +Cc: linux-mips, Ralf Baechle
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-28 17:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-28 15:49 [PATCH] MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port Antony Pavlov
2013-09-28 17:07 ` Lars-Peter Clausen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox