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: 119651 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1167661qgn; Sun, 26 Nov 2017 18:21:27 -0800 (PST) X-Google-Smtp-Source: AGs4zMaCHqifdR7R0ralzDmYVS2tBr+E5u+yshms/K/4hNLiqLDDOYTqcbctjnrxAjlSl8eHCD8H X-Received: by 10.159.207.149 with SMTP id z21mr37669211plo.164.1511749287817; Sun, 26 Nov 2017 18:21:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511749287; cv=none; d=google.com; s=arc-20160816; b=bGmucBSpnXc2dycv8TZnmpO5J2BP2bCO1GcOi4hbms1AKMzozqS4ErrGUjv2r6K/Ku fQcchIDrWI7rGDJ0TaVVJGvlnaCefz71ibTL2KoV5FABibDh+kzBsG2caagZmQhBtI5s 0J9/21Gt8rOT95OnqP06ptwBHJevQo/X9XC0YPtnglfsnFexUplR1sfSl9lSEjOnoB6p /SdO5UrJoSGU+NKOygeFG6FCZ3isoRYdADslJD06oUXzes9cHsWiX0JFNob5WUbnZpr7 OgYGVDKQR1kgcncrxbwRoG9MomK9pZorDUbbEe/gW4jUZ5AqFFdooPyWDXSYoyY0U86E 3OBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=FvHVyjCnqrYSqs1GAhth9eFL3bmDZpBemu7FKDHPUNY=; b=pFdMAQ7joV2fvS5HKCwpEaS6zfdNmKykSM5Oa26VUneSZQa2wmA0DA75KXRIPnAMwP ehcQPn6P7UKNbb3Gg2bvr4VWkYbshBrgRPfmHNOND8oza4FZ5HsC6HZiJZU7yjAUZwHn fLEWilgOmNhd5iwzi9WVj/h7Z43aULW6NPIQwe5Y/7Kz38IcxMaqo2H5bdu+NUeUUXQs vzdSejOc9WrIsaj0+F+X43Lx37QVMSk2FDazXgChCX5MDmggCOk3JgJxDRMl7HIdWkat 33bHimvwhoJIzCW2fFJSTcgAVf5JByfhwr8Ubyjy6hbZzlq1CahWxNUTqQsK1Edbruvq mr0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=LXHNMW/a; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si22719459pls.720.2017.11.26.18.21.27; Sun, 26 Nov 2017 18:21:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=LXHNMW/a; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751127AbdK0CV0 (ORCPT + 6 others); Sun, 26 Nov 2017 21:21:26 -0500 Received: from conuserg-11.nifty.com ([210.131.2.78]:44363 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750872AbdK0CVZ (ORCPT ); Sun, 26 Nov 2017 21:21:25 -0500 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 Cc: Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Russell King , linux-arm-kernel@lists.infradead.org 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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