From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755457AbeARROr (ORCPT ); Thu, 18 Jan 2018 12:14:47 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:35410 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754629AbeARROq (ORCPT ); Thu, 18 Jan 2018 12:14:46 -0500 Date: Thu, 18 Jan 2018 18:14:30 +0100 From: Paul Cercueil Subject: Re: [PATCH v7 11/14] MIPS: ingenic: Initial JZ4770 support To: James Hogan Cc: Ralf Baechle , Maarten ter Huurne , linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Message-Id: <1516295670.1423.0@smtp.crapouillou.net> In-Reply-To: <20180117212853.GC27409@jhogan-linux.mipstec.com> References: <20180105182513.16248-2-paul@crapouillou.net> <20180116154804.21150-1-paul@crapouillou.net> <20180116154804.21150-12-paul@crapouillou.net> <20180117212853.GC27409@jhogan-linux.mipstec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id w0IHEq1A027039 Hi James, Le mer. 17 janv. 2018 à 22:28, James Hogan a écrit : > On Tue, Jan 16, 2018 at 04:48:01PM +0100, Paul Cercueil wrote: >> Provide just enough bits (clocks, clocksource, uart) to allow a >> kernel >> to boot on the JZ4770 SoC to a initramfs userspace. >> >> Signed-off-by: Paul Cercueil >> Reviewed-by: PrasannaKumar Muralidharan > > >> diff --git a/arch/mips/jz4740/time.c b/arch/mips/jz4740/time.c >> index bb1ad5119da4..2ca9160f642a 100644 >> --- a/arch/mips/jz4740/time.c >> +++ b/arch/mips/jz4740/time.c >> @@ -113,7 +113,7 @@ static struct clock_event_device >> jz4740_clockevent = { >> #ifdef CONFIG_MACH_JZ4740 >> .irq = JZ4740_IRQ_TCU0, >> #endif >> -#ifdef CONFIG_MACH_JZ4780 >> +#if defined(CONFIG_MACH_JZ4770) || defined(CONFIG_MACH_JZ4780) >> .irq = JZ4780_IRQ_TCU2, >> #endif >> }; >> -- >> 2.11.0 >> > > MACH_INGENIC selects SYS_SUPPORTS_ZBOOT_UART16550, so I wonder whether > arch/mips/boot/compressed/uart-16550.c needs updating for JZ4770 like > commit ba9e72c2290f ("MIPS: Fix build with DEBUG_ZBOOT and > MACH_JZ4780") > does for JZ4780. > > Otherwise the non-DT bits look reasonable (I've not really looked > properly at the DT): > Reviewed-by: James Hogan > > Cheers > James I will fix it in a separate patch, if you don't mind. -Paul