Skip to content

Commit ba9e72c

Browse files
aakoskinralfbaechle
authored andcommitted
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>
1 parent f6cede5 commit ba9e72c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset))
1818
#endif
1919

20-
#ifdef CONFIG_MACH_JZ4740
20+
#if defined(CONFIG_MACH_JZ4740) || defined(CONFIG_MACH_JZ4780)
2121
#include <asm/mach-jz4740/base.h>
2222
#define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset))
2323
#endif

0 commit comments

Comments
 (0)