Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755845AbbHDJRr (ORCPT ); Tue, 4 Aug 2015 05:17:47 -0400 Received: from lb1-smtp-cloud3.xs4all.net ([194.109.24.22]:49926 "EHLO lb1-smtp-cloud3.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755448AbbHDJRo (ORCPT ); Tue, 4 Aug 2015 05:17:44 -0400 Message-ID: <1438679859.8734.35.camel@tiscali.nl> Subject: Re: [RFC PATCH 2/3] mailbox: Hisilicon: add mailbox driver From: Paul Bolle To: Leo Yan Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Jassi Brar , Wei Xu , Bintian Wang , Haojian Zhuang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Guodong Xu , Jian Zhang , Zhenwei Wang , Haoju Mo , Dan Zhao , kongfei@hisilicon.com, Guangyue Zeng Date: Tue, 04 Aug 2015 11:17:39 +0200 In-Reply-To: <20150804084930.GA27609@leoy-linaro> References: <1438564390-28111-1-git-send-email-leo.yan@linaro.org> <1438564390-28111-3-git-send-email-leo.yan@linaro.org> <1438677024.8734.24.camel@tiscali.nl> <20150804084930.GA27609@leoy-linaro> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.4 (3.16.4-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1166 Lines: 35 On di, 2015-08-04 at 16:49 +0800, Leo Yan wrote: > On Tue, Aug 04, 2015 at 10:30:24AM +0200, Paul Bolle wrote: > > On ma, 2015-08-03 at 09:13 +0800, Leo Yan wrote: > > > --- /dev/null > > > +++ b/drivers/mailbox/hisilicon/Kconfig > > > > > +config HISI_MBOX > > > + bool "Hisilicon's Mailbox" > > > + depends on ARCH_HISI || OF > > > > ARCH_HISI is available on either ARM64 or ARM. ARM64 selects OF. On ARM > > ARCH_HISI depends on ARCH_MULTIV7 which depends on ARCH_MULTIPLATFORM. > > That selects USE_OF which on its turn selects OF. > > > > So, HISI_MBOX implies OF, correct? > > Exactly, will simply use "depends on ARCH_HISI". That change would alter the dependencies. My remark was made just to make clear why I think CONFIG_OF will always be defined. But now I guess you actually meant depends on ARCH_HISI && OF And that would, I think, indeed be equivalent to depends on ARCH_HISI Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/