From patchwork Fri Jul 6 10:38:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guoqing Jiang X-Patchwork-Id: 1164331 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id DB2CFDF236 for ; Fri, 6 Jul 2012 09:42:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755809Ab2GFJmW (ORCPT ); Fri, 6 Jul 2012 05:42:22 -0400 Received: from mail.windriver.com ([147.11.1.11]:43545 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752349Ab2GFJmV (ORCPT ); Fri, 6 Jul 2012 05:42:21 -0400 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id q669fovW002215 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 6 Jul 2012 02:41:50 -0700 (PDT) Received: from gjiang-desktop.corp.ad.wrs.com (128.224.163.23) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Fri, 6 Jul 2012 02:41:49 -0700 From: To: , , , , , , , , CC: , , Subject: [PATCH 1/1] ARM: add PROC_DEVICETREE support in Kconfig Date: Fri, 6 Jul 2012 18:38:47 +0800 Message-ID: <1341571127-14461-1-git-send-email-jgq516@gmail.com> X-Mailer: git-send-email 1.7.3 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Xiao Jiang Since more and more arm chips support device tree, it'd be better add PROC_DEVICETREE in arch/arm/Kconfig to avoid duplicate code. Signed-off-by: Xiao Jiang Acked-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/Kconfig | 1 + arch/arm/configs/at91_dt_defconfig | 1 - arch/arm/configs/tegra_defconfig | 1 - arch/arm/plat-omap/Kconfig | 1 - 4 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a91009c..f68896e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1864,6 +1864,7 @@ config USE_OF select OF select OF_EARLY_FLATTREE select IRQ_DOMAIN + select PROC_DEVICETREE if PROC_FS help Include support for flattened device tree machine descriptions. diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index 67bc571..b856cb6 100644 --- a/arch/arm/configs/at91_dt_defconfig +++ b/arch/arm/configs/at91_dt_defconfig @@ -64,7 +64,6 @@ CONFIG_MTD_NAND=y CONFIG_MTD_NAND_ATMEL=y CONFIG_MTD_UBI=y CONFIG_MTD_UBI_GLUEBI=y -CONFIG_PROC_DEVICETREE=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=4 diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig index 1198dd6..43e7b65 100644 --- a/arch/arm/configs/tegra_defconfig +++ b/arch/arm/configs/tegra_defconfig @@ -72,7 +72,6 @@ CONFIG_IPV6_TUNNEL=y CONFIG_IPV6_MULTIPLE_TABLES=y # CONFIG_WIRELESS is not set # CONFIG_FIRMWARE_IN_KERNEL is not set -CONFIG_PROC_DEVICETREE=y CONFIG_BLK_DEV_LOOP=y CONFIG_AD525X_DPOT=y CONFIG_AD525X_DPOT_I2C=y diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index ad95c7a..4e2cb17 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig @@ -27,7 +27,6 @@ config ARCH_OMAP2PLUS select GENERIC_IRQ_CHIP select OMAP_DM_TIMER select USE_OF - select PROC_DEVICETREE if PROC_FS help "Systems based on OMAP2, OMAP3 or OMAP4"