From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4283DC4321D for ; Mon, 20 Aug 2018 19:18:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B10952173A for ; Mon, 20 Aug 2018 19:18:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="O1w8A/mt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B10952173A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726653AbeHTWfR (ORCPT ); Mon, 20 Aug 2018 18:35:17 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:56074 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726293AbeHTWfR (ORCPT ); Mon, 20 Aug 2018 18:35:17 -0400 Date: Mon, 20 Aug 2018 21:18:17 +0200 From: Paul Cercueil Subject: Re: [PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC To: Alexandre Belloni Cc: Alessandro Zummo , od@zcrc.me, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <1534792697.1744.0@crapouillou.net> In-Reply-To: <20180820191247.GU21707@piout.net> References: <20180820180716.1853-1-paul@crapouillou.net> <20180820191247.GU21707@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1534792705; bh=FhzBkNG7B7G8SOSpWRUUfBIttS85LABVnUUYHkXajKE=; h=Date:From:Subject:To:Cc:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=O1w8A/mtEdXKIZav3kvCrqvL2qMlfdn8Y422GqCu63B1fWsaTHto9ahW+WfnjqQxbNdo2q0Hczj+lMC62sUvhRxcyF4vcrfTHBIxNV7BCPIoTPvgwnEV8Tq3dm8zxanFozZu0Vw1DeHCLw1ld+BdmqVEztt4aZgRHUrDnK4TJA4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le lun. 20 ao=FBt 2018 =E0 21:12, Alexandre Belloni=20 a =E9crit : > On 20/08/2018 20:07:16+0200, Paul Cercueil wrote: >> Depending on MACH_INGENIC prevent us from creating a generic kernel=20 >> that >> works on more than one MIPS board. Instead, we just depend on MIPS=20 >> being >> set. >=20 > Maybe you could consider dropping the whole dependency as we already > know it will build on every architecture. Well, I didn't really want the Kconfig option to show on the menu when compiling for non-MIPS, since it's only ever useful there. Should I drop the dependency then? >>=20 >> Signed-off-by: Paul Cercueil >> --- >> drivers/rtc/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >>=20 >> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig >> index a2ba5db36145..98c7f19256b1 100644 >> --- a/drivers/rtc/Kconfig >> +++ b/drivers/rtc/Kconfig >> @@ -1608,7 +1608,7 @@ config RTC_DRV_MPC5121 >>=20 >> config RTC_DRV_JZ4740 >> tristate "Ingenic JZ4740 SoC" >> - depends on MACH_INGENIC || COMPILE_TEST >> + depends on MIPS || COMPILE_TEST >> help >> If you say yes here you get support for the Ingenic JZ47xx SoCs=20 >> RTC >> controllers. >> -- >> 2.11.0 >>=20 >=20 > -- > Alexandre Belloni, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com =