From patchwork Mon Nov 27 02:19:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10075671 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6FE0B60353 for ; Mon, 27 Nov 2017 02:20:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5972D28C9E for ; Mon, 27 Nov 2017 02:20:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C7B628CA8; Mon, 27 Nov 2017 02:20:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4F8C828C9E for ; Mon, 27 Nov 2017 02:20:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=gh+9yEe8utHLoxWJ2YekvwswghdRe33HiYN09oPzFGw=; b=W0h rArJkMVyoVyp4uICBMhQCVjYVndphLojJIjOw730PyWoWO/3DZ0XuFZ+ggxLGVD3BGcR+orApVUBa IPhOY03tcvr8ox4SunWs2uhDwgbcwNEaPUHnR5BSnNwfJzxqNj58Kjbr02+uAK70rwkZmaki1Rq3s OJfKwFHZRVo888jm7PcoC337MPwSuPAmhLvGAhHpyb52F06lE+W+WxhMiKSep9Qd6JpobQqndW7ei sYRntQh9NVR88VqO+3yOLMkixzVEP8/kdSVoZa/G56R0Au2JP+9twP3bMUPLLDBuZvQ8NUzIPoQ50 s5S7uIfg9iuLe+kJLRaJ/af3IOdFMug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eJ92M-0000Zv-3E; Mon, 27 Nov 2017 02:20:46 +0000 Received: from conuserg-11.nifty.com ([210.131.2.78]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eJ92G-0000Ns-Vw for linux-arm-kernel@lists.infradead.org; Mon, 27 Nov 2017 02:20:43 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id vAR2JjrG025103; Mon, 27 Nov 2017 11:19:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com vAR2JjrG025103 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1511749186; bh=0GcDeq9X04BsgeDfPW2ifDekHWqEYGXBxaNBDtzTED0=; h=From:To:Cc:Subject:Date:From; b=LXHNMW/asHfjvRFSwp0+6gqJjXMhV5p+OonNmRXpZkl+jnRuhlZCF0F2pg4Mk5Zf+ H3/y0PMfDYEbxtjlP2QpEj81XFZmml2CoQEQwp/1+jbsT2eRtbSCSpqBSSGc17pV9i oSTWvdlEsqxIaCbCdrlvNjYsAfsDiu/l21LMMeex+OVdQ5j3VT4o6KBEbH98uAQPgc 8X6DJlGzXtkXVOcgFv8jkC6T7I6eDMdsGlZ26dr04TET5ryn87szJGUtmZpCGRkQAm 2zLGZWsaYdQnXT3JuynvmvtYz1TjS30afMX49LJ71sedf1oFJGhLJSGBEV8CqAvT7k Uikgf7d5o6I6w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: arm@kernel.org, Olof Johansson , Arnd Bergmann Subject: [PATCH] ARM: make ARCH_S3C24XX select USE_OF and clean-up boot/dts/Makefile Date: Mon, 27 Nov 2017 11:19:23 +0900 Message-Id: <1511749163-11057-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171126_182041_426605_4D3AA33C X-CRM114-Status: UNSURE ( 8.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King , Masahiro Yamada , Rob Herring , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP ARCH_S3C24XX is a very exceptional platform that some DT files in arch/arm/boot/dts/, but does not select USE_OF. All the other platforms with DT files correctly select USE_OF directly or indirectly (Most of them are either ARCH_MULTIPLATFORM or ARM_SINGLE_ARMV7M). With ARCH_S3C24XX fixed, "ifeq ($(CONFIG_OF),y)" in DT Makefile can be deleted. Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 1 + arch/arm/boot/dts/Makefile | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 51c8df5..5604497 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -595,6 +595,7 @@ config ARCH_S3C24XX select MULTI_IRQ_HANDLER select NEED_MACH_IO_H select SAMSUNG_ATAGS + select USE_OF help Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443 and S3C2450 SoCs based systems, such as the Simtec Electronics BAST diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d0381e9..6f7f25d 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1,6 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 -ifeq ($(CONFIG_OF),y) - dtb-$(CONFIG_ARCH_ALPINE) += \ alpine-db.dtb dtb-$(CONFIG_MACH_ARTPEC6) += \ @@ -1104,4 +1102,3 @@ dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb dtb-$(CONFIG_ARCH_ASPEED) += aspeed-bmc-opp-palmetto.dtb \ aspeed-bmc-opp-romulus.dtb \ aspeed-ast2500-evb.dtb -endif