diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2016-03-08 00:06:36 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-03-13 10:50:46 +0100 |
commit | ba9e72c2290fcdeeff5f0105590a03e0f341b059 (patch) | |
tree | a5f2917931ab1debe31a0463f714d456696ac97b | |
parent | f6cede5b49e822ebc41a099fe41ab4989f64e2cb (diff) | |
download | linux-exynos-ba9e72c2290fcdeeff5f0105590a03e0f341b059.tar.gz linux-exynos-ba9e72c2290fcdeeff5f0105590a03e0f341b059.tar.bz2 linux-exynos-ba9e72c2290fcdeeff5f0105590a03e0f341b059.zip |
MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4780
Ingenic SoC declares ZBOOT support, but debug definitions are missing
for MACH_JZ4780 resulting in a build failure when DEBUG_ZBOOT is set.
The UART addresses are same as with JZ4740, so fix by covering JZ4780
with those as well.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12830/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/boot/compressed/uart-16550.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/boot/compressed/uart-16550.c b/arch/mips/boot/compressed/uart-16550.c index 408799a839b4..f7521142deda 100644 --- a/arch/mips/boot/compressed/uart-16550.c +++ b/arch/mips/boot/compressed/uart-16550.c @@ -17,7 +17,7 @@ #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) #endif -#ifdef CONFIG_MACH_JZ4740 +#if defined(CONFIG_MACH_JZ4740) || defined(CONFIG_MACH_JZ4780) #include <asm/mach-jz4740/base.h> #define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset)) #endif |