From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 2/9] ARM: mmp: distinguish mmp and mmp2 in Kconfig Date: Fri, 27 Apr 2012 20:14:49 +0000 Message-ID: <201204272014.49443.arnd@arndb.de> References: <1335515957-1798-1-git-send-email-haojian.zhuang@gmail.com> <1335515957-1798-3-git-send-email-haojian.zhuang@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1335515957-1798-3-git-send-email-haojian.zhuang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: eric.y.miao-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org List-Id: devicetree@vger.kernel.org On Friday 27 April 2012, Haojian Zhuang wrote: > Append four CONFIG_* MACRO to distinguish boards in arch-mmp. > > CONFIG_MMP_LEGACY and CONFIG_MMP2_LEGACY are used to support boards > without device tree. > > CONFIG_MMP_DT and CONFIG_MMP2_DT are used to support boards with > device tree. > > At the same time, only one of these four macro could be selected. > It's used to miss compiling all boards file together. Can you explain why this is done? It seems counterintuitive to have the DT and non-DT support be mutually exclusive. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Fri, 27 Apr 2012 20:14:49 +0000 Subject: [PATCH 2/9] ARM: mmp: distinguish mmp and mmp2 in Kconfig In-Reply-To: <1335515957-1798-3-git-send-email-haojian.zhuang@gmail.com> References: <1335515957-1798-1-git-send-email-haojian.zhuang@gmail.com> <1335515957-1798-3-git-send-email-haojian.zhuang@gmail.com> Message-ID: <201204272014.49443.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday 27 April 2012, Haojian Zhuang wrote: > Append four CONFIG_* MACRO to distinguish boards in arch-mmp. > > CONFIG_MMP_LEGACY and CONFIG_MMP2_LEGACY are used to support boards > without device tree. > > CONFIG_MMP_DT and CONFIG_MMP2_DT are used to support boards with > device tree. > > At the same time, only one of these four macro could be selected. > It's used to miss compiling all boards file together. Can you explain why this is done? It seems counterintuitive to have the DT and non-DT support be mutually exclusive. Arnd