Re: [PATCH v2] MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4770

From: James Hogan
Date: Fri May 11 2018 - 17:54:01 EST


On Wed, Mar 28, 2018 at 05:38:12PM +0200, Paul Cercueil wrote:
> 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.
>
> Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>

Applied for 4.17 with fixes tag and 4.16 stable tag.

Thanks
James

Attachment: signature.asc
Description: PGP signature