From patchwork Wed Nov 29 06:01:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 119927 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2654439qgn; Tue, 28 Nov 2017 22:02:13 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ6DTOrL438B/s1nVm5F+N78NNIiEF6fX4aVbbPXji+BHKADz2CkMKLD0FBRcg4CWnIFvjf X-Received: by 10.80.165.41 with SMTP id y38mr6108726edb.72.1511935333039; Tue, 28 Nov 2017 22:02:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511935333; cv=none; d=google.com; s=arc-20160816; b=SkqUaEbzu+9ajCIhx+cKrENESym++2Vqrc2AHljPIvNCXhgm+JXWGCJ9wqEwmE8+xn 5khvIwfK0JNlgwlN7OV12F3ZiaMweadT6w5Fmmj9ch1eZVHtHTQsnS1vOJf9loxUNKR1 jOhU+ScpZ+92rw2AbJFuC1XmIsGJg7VjSRmapvL8FXgRKkLO2tx11O8f2QTa+cCnfaFv huDvG21ePuqqBc/tTFtB/T5O5S2HQnFE1jWmSJKxcBP1pl3fXbze6tMNHW9cz6k6qC9P 1qGEYnNYyDb+3IT7V2QVM6TqAXD2gVurkalI4YkhKovupOCmnuaLqGqANQSnrKKh5P/1 sWLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :dkim-filter:arc-authentication-results; bh=/2aUAtqgXeg4SHuvCve4i36sqI64WiaMHrEGv22+6vI=; b=btcX13/NA4662mWWBfx1+dpiKhLc+YkDMfKXWEamW+j/1Sxxtuy5Hgbu1NQyifMlcM /kUAA1MHpjtlfGNU0gwpQl4Y0TIe3D/fsNGyoD4dWNqdLebGms3jRTTTrWdK8GPWVTPZ COWQrVkqrftTtiBTw8Hjr1yd8RcB7SuAP/qYaRfpFZsgv5ZbsYpt63ZafmOAOVDn5yTc RGRg9St9EKJ5P68mdjz8xDrjV4d0yyruImH0UJbhEw5xk6mFNIWWQa/orZQv8tPNHjGe KTQNbKkKW5vYpcpEcypL5eNbaAmZRaAN6S/Us4jlGkmgr1G+Q0fO8w0VZ4KcthrRlpOo e6Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=y6jguOON; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id r12si1133058edb.481.2017.11.28.22.02.12; Tue, 28 Nov 2017 22:02:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=y6jguOON; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 806AFC21E39; Wed, 29 Nov 2017 06:02:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id D3BA9C21DB0; Wed, 29 Nov 2017 06:02:07 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 76DD8C21E3A; Wed, 29 Nov 2017 06:02:01 +0000 (UTC) Received: from conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by lists.denx.de (Postfix) with ESMTPS id 99692C21E32 for ; Wed, 29 Nov 2017 06:02:00 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id vAT61Vld023317; Wed, 29 Nov 2017 15:01:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com vAT61Vld023317 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1511935292; bh=aE9nyGN8N3YhQhGIF8bjsC3ateZuZ3/h64jC8ulzFm8=; h=From:To:Cc:Subject:Date:From; b=y6jguOONdh2FZnawuz9WZz26eMA0DsTBAv4Y4Peb10Bqjx9BBPvpJldotEIic6Kba wVgGVPe03+R8G0GYu876CGJqdc5bjxRPV27OR4b2hmX75Z6Vl9/SA3aNBY7Og3cP61 g5GeT11f7PnLyIfjJulxO/q2brHrJj68jU7kz4htoimU7E/62fqqjtvg94gFGgx8aM p7EySNYXiq1QRhiATPiIsx3RysMs+pbeTjsZyDHQBeKS2S9D9a2j9r/W+xqKGOr8ZW n0afC4jpLfo6YYNvKWeVAjnOy5f8Z/QCRu1a2f2cz6fVmh3aIC8JTq3814uGCmjB2B yr10Rf4EwIXLA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 29 Nov 2017 15:01:22 +0900 Message-Id: <1511935283-5342-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Subject: [U-Boot] [PATCH] ARM: uniphier: clean up board_init X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Remove unnecessary DECLARE_GLOBAL_DATA_PTR and header includes. has been replaced with and . Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/board_init.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach-uniphier/board_init.c index 121b786..8418902 100644 --- a/arch/arm/mach-uniphier/board_init.c +++ b/arch/arm/mach-uniphier/board_init.c @@ -6,17 +6,14 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include -#include +#include #include +#include #include "init.h" #include "micro-support-card.h" -#include "sg-regs.h" #include "soc-info.h" -DECLARE_GLOBAL_DATA_PTR; - #ifdef CONFIG_ARCH_UNIPHIER_LD20 static void uniphier_ld20_misc_init(void) {