Skip to content

Commit 59197e4

Browse files
frantonyralfbaechle
authored andcommitted
MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/5927/
1 parent 885014b commit 59197e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/mips/boot/compressed/uart-16550.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#endif
2020

2121
#ifdef CONFIG_MACH_JZ4740
22-
#define UART0_BASE 0xB0030000
23-
#define PORT(offset) (UART0_BASE + (4 * offset))
22+
#include <asm/mach-jz4740/base.h>
23+
#define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset))
2424
#endif
2525

2626
#ifdef CONFIG_CPU_XLR

0 commit comments

Comments
 (0)