From patchwork Tue Mar 5 17:42:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2220631 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 730623FCF2 for ; Tue, 5 Mar 2013 17:42:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756958Ab3CERmm (ORCPT ); Tue, 5 Mar 2013 12:42:42 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:54299 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757151Ab3CERmm (ORCPT ); Tue, 5 Mar 2013 12:42:42 -0500 Received: from wuerfel.lan (HSI-KBW-46-223-90-92.hsi.kabel-badenwuerttemberg.de [46.223.90.92]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MUEZG-1ULDN62uN0-00RK4i; Tue, 05 Mar 2013 18:42:30 +0100 From: Arnd Bergmann To: Thomas Abraham Cc: Kukjin Kim , Tushar Behera , Deepak Saxena , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Olof Johansson , Arnd Bergmann Subject: [PATCH 01/23] ARM: exynos: introduce EXYNOS_ATAGS symbol Date: Tue, 5 Mar 2013 18:42:11 +0100 Message-Id: <1362505353-8873-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1362505353-8873-1-git-send-email-arnd@arndb.de> References: <1362505353-8873-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:ViqCxPekGmxgOC5i9ekZ/YRp4lUc04RFGulf1WLfgPx o54+xvJOCS6xHYPgO8Hgu2DHrvbGn8YKvUMQkR1/AdKh6aON9U TPihc3dHHu3MgjIb4WRZOM/BW46hzUO3pNMzQX/RFsn4uOmFJg 2KHRZ9TQXH/Gj974T8VSOzb8xEcDjPzj2J3uN0lH4tPRN1bmbQ gJxgC+XojzozxySD5poRHAX9yOo9plEPZRVro+YHjapbbsn7yu OzniQrL1Sv2auxlxzm3slaoPSl9nC7rR7REiYmFDBmkrY2Hmq7 Xl7Iz6jg04ItmJUc7EeQRtnC40E77hCqX1PKlm14rBK25R/Sfe Y3XiQkkh03JPmaPkKkuen9B9U7J6DZGa8FeqB6/rF 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..3291a72 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -176,7 +176,20 @@ config EXYNOS_SETUP_SPI help Common setup code for SPI GPIO configurations. + +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. + # machine support +if EXYNOS_ATAGS if ARCH_EXYNOS4 @@ -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