提交 59197e44 编写于 作者: A Antony Pavlov 提交者: Ralf Baechle

MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port

Signed-off-by: NAntony Pavlov <antonynpavlov@gmail.com>
Acked-by: NLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: NJohn Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5927/
上级 885014bc
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
#endif #endif
#ifdef CONFIG_MACH_JZ4740 #ifdef CONFIG_MACH_JZ4740
#define UART0_BASE 0xB0030000 #include <asm/mach-jz4740/base.h>
#define PORT(offset) (UART0_BASE + (4 * offset)) #define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset))
#endif #endif
#ifdef CONFIG_CPU_XLR #ifdef CONFIG_CPU_XLR
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册