1
0
Fork 0
alistair23-linux/arch/mips/boot/compressed
Paul Cercueil c60128ce97
MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4770
The debug definitions were missing for MACH_JZ4770, resulting in a build
failure when DEBUG_ZBOOT was set.

Since the UART addresses are the same across all Ingenic SoCs, we just
use a #ifdef CONFIG_MACH_INGENIC instead of checking for individual
Ingenic SoCs.

Additionally, I added a #define for the UART0 address in-code and
dropped the <asm/mach-jz4740/base.h> include, for the reason that this
include file is slowly being phased out as the whole platform is being
moved to devicetree.

Fixes: 9be5f3e92e ("MIPS: ingenic: Initial JZ4770 support")
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 4.16
Patchwork: https://patchwork.linux-mips.org/patch/18957/
Signed-off-by: James Hogan <jhogan@kernel.org>
2018-05-14 23:54:25 +01:00
..
.gitignore MIPS: gitignore: ignore generated .c files 2017-08-07 11:57:30 +02:00
Makefile MIPS: Fix clean of vmlinuz.{32,ecoff,bin,srec} 2018-01-18 21:53:14 +00:00
calc_vmlinuz_load_addr.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dbg.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
decompress.c zboot: fix stack protector in compressed boot phase 2018-04-05 21:36:21 -07:00
dummy.c MIPS: Add support for GZIP / BZIP2 / LZMA compressed kernel images 2009-12-17 01:56:56 +00:00
head.S MIPS: ZBOOT: copy appended dtb to the end of the kernel 2016-08-02 14:00:16 +02:00
ld.script MIPS: Add support for vmlinuz.bin appended dtb 2015-06-21 21:54:15 +02:00
string.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uart-16550.c MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4770 2018-05-14 23:54:25 +01:00
uart-alchemy.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uart-prom.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00