From patchwork Thu Apr 11 21:37:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2432611 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 C347ADF230 for ; Thu, 11 Apr 2013 21:37:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752142Ab3DKVhm (ORCPT ); Thu, 11 Apr 2013 17:37:42 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:61835 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752119Ab3DKVhl (ORCPT ); Thu, 11 Apr 2013 17:37:41 -0400 Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0LsJrw-1UbZJC0NhY-011vjK; Thu, 11 Apr 2013 23:37:38 +0200 From: Arnd Bergmann To: Kukjin Kim Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Arnd Bergmann Subject: [PATCH v3 01/10] ARM: exynos: introduce EXYNOS_ATAGS symbol Date: Thu, 11 Apr 2013 23:37:16 +0200 Message-Id: <1365716245-99231-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1365716245-99231-1-git-send-email-arnd@arndb.de> References: <1365716245-99231-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:XnBPNySS6iNJzVwqTO6HZGksfgfHIFSjRKYLfjk0cqw C1Lvn3rOo9JcnAmwjJMn78FHOELfFDWppMl8WmQ7n6YYUdVvKP PDuFapFesXCo7dBRtDihk2voybm/cei4rzzr0VdxQmMVeNzCk7 Iv11JdYKu0qh9ZPG0WpHzXymL5AAOgCFHH/hMKmP3mUyDiagN6 N8tQiH5rLp02lk5I+gLOrlB+DKsKUms9caFNjwpxmdZhJD2TYL 7zzwkuYNdKvo/hmDqsSAe4sDLwCVaikoYKdy6Eg0dA+5y+GO/S lWTjLj6H5enu804udhqmppygEM+IdsJ1bvJyofCyPThZe2o5Jj cm503WD0eBN2w6qxJsYFUfv3y+3VZyd5WbXPDXwrQ Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org As a preparation for multiplatform support, this introduces a new Kconfig symbol to split the ATAGS based EXYNOS platforms from the DT based ones. Turning off CONFIG_EXYNOS_ATAGS disables all platforms that are not yet converted to DT, and we can have code that relies on DT checking for this symbol being disabled. Signed-off-by: Arnd Bergmann --- arch/arm/mach-exynos/Kconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 70f94c8..33e2336 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -85,6 +85,19 @@ config EXYNOS4_MCT help Use MCT (Multi Core Timer) as kernel timers +config EXYNOS_ATAGS + bool "ATAGS based boot for EXYNOS (deprecated)" + depends on ARCH_EXYNOS_SINGLE + depends on ATAGS + default y + help + The EXYNOS platform is moving towards being completely probed + through device tree. This enables support for board files using + the traditional ATAGS boot format. + Note that this option is not available for multiplatform builds. + +if EXYNOS_ATAGS + config EXYNOS_DEV_DMA bool help @@ -400,6 +413,8 @@ config MACH_SMDK4412 Machine support for Samsung SMDK4412 endif +endif + comment "Flattened Device Tree based board for EXYNOS SoCs" config MACH_EXYNOS4_DT