[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1521988707.2054.0@smtp.crapouillou.net>
Date: Sun, 25 Mar 2018 11:38:27 -0300
From: Paul Cercueil <paul@...pouillou.net>
To: James Hogan <jhogan@...nel.org>
Cc: Ralf Baechle <ralf@...ux-mips.org>, linux-mips@...ux-mips.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4770
Hi,
Le jeu. 22 mars 2018 à 7:26, James Hogan <jhogan@...nel.org> a écrit :
> On Sat, Mar 17, 2018 at 09:11:09PM +0100, Paul Cercueil wrote:
>> Since the UART addresses are the same across all Ingenic SoCs, we
>> just
>> use a #ifdef CONFIG_MACH_INGENIC instead of checking for indifidual
>> Ingenic SoCs.
>
> s/indifidual/individual/
>
>> --- a/arch/mips/boot/compressed/uart-16550.c
>> +++ b/arch/mips/boot/compressed/uart-16550.c
>> @@ -18,9 +18,9 @@
>> #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset))
>> #endif
>>
>> -#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))
>> +#if CONFIG_MACH_INGENIC
>
> I think you meant #ifdef there.
>
> Cheers
> James
Oops. Will fix in V2.
-Paul
Powered by blists - more mailing lists