From patchwork Thu Jul 30 09:28:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 247267 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2237244ilg; Thu, 30 Jul 2020 02:29:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiASsbqIAiH7Pv9DDMr/AFnYeR8E6mw5Sr8kEkX8/8vbSz7N22K6xLUelSNJhU2E9PmvkH X-Received: by 2002:a17:907:205c:: with SMTP id pg28mr1609599ejb.22.1596101356882; Thu, 30 Jul 2020 02:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596101356; cv=none; d=google.com; s=arc-20160816; b=sCO1GENyQ8z8yoyqBWkkmnmJ+6A1gIi9rE7kwHPtJpUgWpTbgjryBv6CkZJq++/O0w OGhwPHPvhuSZ16FSaS2TUq0aObcr7qqLJF5mDFXinjRiu2JAchiSettf6hpicQleCXGw /H1ZlKNNs4hD7j7rz7qImdy3YmZWIj+xR+IZvzPLxA4ccIPb5rhbmbrEmC5Do+w4+Ks6 tbQVHTpABujpgGmOHpxd4GlpjD0TnPR9lzykfArprkTosDNR7AKKy9DCUDYk4COvQtAL KZHfxsQHCqrwnaZ1Cvjr1iIaPRX3ajy5oet3365es+Afc6KFqVcwsyGyTgb9vz7KLkwa YTuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=z/Vms1e1UcDI9eiYQKrk0/n7Zz9x0iNL1OmHRNeQ6Qk=; b=X4HQQzJuxcN17fro4nF0J4gN4Hk2L1hZN1HREI+VGmJctH1far1Jf5VDmtT5sYIOJz fb5NiHevtPG3i4beXCQ6RHBN57xBbMNOWV9one7V05w06xUvqq+SsblJWTJgducWfY64 7C/8i0fPOSXBKoR77PjCmxp/tSRpk1oO3Qcv5O00GmtxOFf1O2bsj7q8UE+3cm6P2ULi ZnVNyGh2BJaSSwlmo0MvRVotqplpY2pjqCGJ6NUXGvdhEtHDaWMOcgvRTeMLWOA71M4e MIbqu4QDoMa1wOss8tS5HgZIQeEBNylmFRryoyq2AtYbjXuk5eHOr2B/jwOGzwQ3iPJN ij+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=fJ2qbnMO; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id h14si79980ejd.603.2020.07.30.02.29.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2020 02:29:16 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=fJ2qbnMO; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 165F181F13; Thu, 30 Jul 2020 11:29:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="fJ2qbnMO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C62188267D; Thu, 30 Jul 2020 11:29:08 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 378188265E for ; Thu, 30 Jul 2020 11:29:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=yamada.masahiro@socionext.com Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id 06U9SFXB003637; Thu, 30 Jul 2020 18:28:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 06U9SFXB003637 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1596101297; bh=z/Vms1e1UcDI9eiYQKrk0/n7Zz9x0iNL1OmHRNeQ6Qk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fJ2qbnMOvFBzVKS00U8LnzA2YyybqpEtedeQoIy1otNyFWBiLuBCl9Kqg7yTiLOpf i86B2SoEPu8YwGNipDqpmrzxsUwcUjM+OpsxWnT2AVU4B7WvXuiV3XNuN/NnvklQmc KYfJNbxb4WkyV2PBXIbICeBvY5VBwifZd3u5P3iXkzNJ37ql8J3PN/vYoMRfKZLKM7 BSD2FdafvWouBdf3/I0ia1reMyZLpiEw8dFycOr+vYralFqw55PxijEty2NlyiYrcE Gbc7sFqTgz/tnmJpKcUsWL6W8fIxR3MKWzH/NKoZggBdRj8adYQKk+RwCUmFAuRpS6 TfEoS8h22sW9w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Cc: Masahiro Yamada , Tom Rini Subject: [PATCH 3/5] ARM: uniphier: remove unneeded header inclusion from board_late_init.c Date: Thu, 30 Jul 2020 18:28:06 +0900 Message-Id: <20200730092808.26521-3-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200730092808.26521-1-yamada.masahiro@socionext.com> References: <20200730092808.26521-1-yamada.masahiro@socionext.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean is unneeded since commit 9248a78f40d6 ("ARM: UniPhier: remove Denali NAND controller fixup code"). is uneeded since commit 1320fa2e55d2 ("ARM: uniphier: remove workaround for the NAND write protect"). Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/board_late_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.17.1 diff --git a/arch/arm/mach-uniphier/board_late_init.c b/arch/arm/mach-uniphier/board_late_init.c index b800e8b8c6be..8c5e5bb58f65 100644 --- a/arch/arm/mach-uniphier/board_late_init.c +++ b/arch/arm/mach-uniphier/board_late_init.c @@ -9,9 +9,7 @@ #include #include #include -#include #include -#include #include #include "init.h" @@ -53,6 +51,7 @@ fail: static void uniphier_set_env_addr(const char *env, const char *offset_env) { + DECLARE_GLOBAL_DATA_PTR; unsigned long offset = 0; const char *str; char *end;