From patchwork Mon Apr 26 06:27:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1470206 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=Q3ba9o5e; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FTFMd5Pynz9sW7 for ; Mon, 26 Apr 2021 16:28:22 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AE8738164E; Mon, 26 Apr 2021 08:28:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="Q3ba9o5e"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F39478289B; Mon, 26 Apr 2021 08:28:07 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F3AE680C99 for ; Mon, 26 Apr 2021 08:28:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wm1-x329.google.com with SMTP id k4-20020a7bc4040000b02901331d89fb83so4393714wmi.5 for ; Sun, 25 Apr 2021 23:28:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jNkE6oVvxov25763w8i57Nh4oePACtm/bfCGg9cK24A=; b=Q3ba9o5ezbiYOpVfy1hDK87HttNWdpQe4A18I/k8xsvYkhr+MFGJXPYrLGoQ50KuzX sNBCEV8KlsVenTdoxL7YnYCF4p2XVpq9O1XyLZdd5uKZPMZjD6h/nRE+2wa5shq4hLck WOXmcbaHnJgixN3yXrnRgTw/Tbgzv29jVHK5VP4eo1BQlEF2a0QbfE9Kw/EDYZspiYKP yZVUGXuPFTooO5ygif7eR6AUkCx/eHTZg82PDYsljpTx1TtDMom/EULaDUaZqGu5q74P eBde923JDBcXE65TDwhcfUozYNCXjFQ5Jd1L9vS2oiRc8T2ocJig51kzDX9dzXwx2ZTE lgaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=jNkE6oVvxov25763w8i57Nh4oePACtm/bfCGg9cK24A=; b=Sr8S30+2j6ZELCo5Dy+DuFaEZ4CsEKAm7xz1jNhGQMONGCC0yZJ43bRJJzzOzDqWi7 hp4WvgAKn+avir2JSWCmjzFVSZ9tgXwOpz1hzczgNIDrQi3duEWKOi7ConFotmG5WPCg G06/G1KSrEF7P4yfPns13C5O5wyDwABjuaG1IldPazl3LMVhH8hGcHNZUwsuEuhc8eIp 3dKpCIqGioTg7KvQEeBsGcguKpzGBhyQuC0E5rZAMD+efsT3+oH7kaeOnzoBHdph2HpN Drjj1iOeW8Bcijd1gDbzGK//yqFt5nINl7bsx8pSGPqlWkWt2ADwykkHcwCAmrQzzUKF vfIw== X-Gm-Message-State: AOAM532Nq4JpUf54N+vBgPwuijRoOjcqe8Z8iaQuNuTVYMsYeSRF0e1O g71FB/GrYEdDsD09jJyN9Pnezf0cKA+xU/ta X-Google-Smtp-Source: ABdhPJzNstM1ESOg5dLxIO9XlLhnKb42hQalCaF6jthNODQELdlxR0Lw4G8zM4+PpWcW+1CjRkXnyg== X-Received: by 2002:a1c:4303:: with SMTP id q3mr6481025wma.86.1619418484244; Sun, 25 Apr 2021 23:28:04 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id l14sm15114932wmq.4.2021.04.25.23.28.03 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Apr 2021 23:28:03 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Jagan Teki , Michal Simek Subject: [PATCH] spi: zynqmp: Remove gd reference Date: Mon, 26 Apr 2021 08:27:56 +0200 Message-Id: <303577cb9101830c220ecfbaa19bd992921c996d.1619418474.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 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.4 at phobos.denx.de X-Virus-Status: Clean gd is not used in this file that's why doesn't make sense to declare it. Signed-off-by: Michal Simek --- drivers/spi/zynqmp_gqspi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c index 900cb2610c7f..eee8e9df0f7d 100644 --- a/drivers/spi/zynqmp_gqspi.c +++ b/drivers/spi/zynqmp_gqspi.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -156,8 +155,6 @@ struct zynqmp_qspi_dma_regs { u32 dmadstmsb; /* 0x28 */ }; -DECLARE_GLOBAL_DATA_PTR; - struct zynqmp_qspi_plat { struct zynqmp_qspi_regs *regs; struct zynqmp_qspi_dma_regs *dma_regs;