From patchwork Wed Apr 11 11:49:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 7735 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id AFE5423E42 for ; Wed, 11 Apr 2012 11:57:53 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 75E02A186BF for ; Wed, 11 Apr 2012 11:57:53 +0000 (UTC) Received: by iage36 with SMTP id e36so1618606iag.11 for ; Wed, 11 Apr 2012 04:57:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=wx7jTROCzSyECL4Hw/KYXNE24HBjLcwM8ALIZE/0r5o=; b=OFsyOqf4yPajt01wYoeIfc16MOzZ8lqQ83RF95K1GJEa2saxyAGl6obM7Vzny1ge/L eMGPbaWn/Zr142JPrdRNjMZOyfoJGCdaaOpvje4NFieZJ73hgHKPQ13Tu7no5fw2zfCy sEv09l8ecML7Tbs/AuoTeoGmIg1oXrLq7JQTaVbiwTfDgMGvpUY2lh5qzGD9XHy59V+2 LvVzvNunejn4O/qwN+fwjSi6PzY4BcvzFN34koTp42oQqOIjNvrqK2ONhu0gD54Opyln ivjK0bD40pHckc4HUgBN23qMisXSH0/tsGNEeCFLvYCNAzjj3xGRUQy72bDpRAZnW1Bq 2PwA== Received: by 10.50.187.225 with SMTP id fv1mr5262870igc.28.1334145472946; Wed, 11 Apr 2012 04:57:52 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.164.217 with SMTP id f25csp62753iby; Wed, 11 Apr 2012 04:57:52 -0700 (PDT) Received: by 10.68.234.231 with SMTP id uh7mr10044358pbc.77.1334145471814; Wed, 11 Apr 2012 04:57:51 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id j10si3448314pbd.24.2012.04.11.04.57.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Apr 2012 04:57:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbcxa12 with SMTP id xa12so1380703pbc.37 for ; Wed, 11 Apr 2012 04:57:51 -0700 (PDT) Received: by 10.68.202.234 with SMTP id kl10mr14217796pbc.52.1334145471016; Wed, 11 Apr 2012 04:57:51 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id sx5sm2723334pbc.4.2012.04.11.04.57.47 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Apr 2012 04:57:50 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] ARM: EXYNOS: Fix Kconfig dependencies for device tree enabled machine files Date: Wed, 11 Apr 2012 17:19:24 +0530 Message-Id: <1334144964-3282-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQn2V5npEDAU8ElJOu7PPctBg1jaxvE35Qee8vV7sGB9ux+VFI13JgmBWXbyBzftitq8E1TX Add config dependency for Exynos4 and Exynos5 device tree enabled machine files on config options ARCH_EXYNOS4 and ARCH_EXYNOS5 respectively. Enabling machine support without proper ARCH support enabled is incorrect. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos/Kconfig | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 801c738..2c35fd4 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -370,6 +370,7 @@ comment "Flattened Device Tree based board for EXYNOS SoCs" config MACH_EXYNOS4_DT bool "Samsung Exynos4 Machine using device tree" + depends on ARCH_EXYNOS4 select CPU_EXYNOS4210 select USE_OF select ARM_AMBA @@ -382,6 +383,7 @@ config MACH_EXYNOS4_DT config MACH_EXYNOS5_DT bool "SAMSUNG EXYNOS5 Machine using device tree" + depends on ARCH_EXYNOS5 select SOC_EXYNOS5250 select USE_OF select ARM_AMBA