From nobody Wed Dec 25 13:02:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1509422406922535.0236446480161; Mon, 30 Oct 2017 21:00:06 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 6FFF52034AB29; Mon, 30 Oct 2017 20:56:10 -0700 (PDT) Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 56ECD2034AB33 for ; Mon, 30 Oct 2017 20:56:08 -0700 (PDT) Received: by mail-lf0-x244.google.com with SMTP id b190so17387617lfg.9 for ; Mon, 30 Oct 2017 20:59:59 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id f21sm107393lja.25.2017.10.30.20.59.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Oct 2017 20:59:56 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::244; helo=mail-lf0-x244.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jtVfw9IYV/aao+pW1a50/7afDylJGz4AlCh5yA7OvMI=; b=XUlxjNPn7GqW5W04lOyG5sYdR1be48M/EWFAooQhsuNFmkgKpIvSLsz4ktkWB17kjA QKb5Pz1M7wIZ+uu8ahh4S3kAVjc9RDXqDIG/JC1NV9hcYjPHyr0UQcR7o/17CxcFPjS/ hgLo36omJq0yh0fLJAW96mUCg40/SnMGvuzDCTzPoysiua95cjobILLP7HclPkH77Ttz 1tQgppBW8H+ZjhTb6Hu5aiXWTLSfink+chCirAuUNPJJexzTQ7MIGD3Bi81XsiB5sH8F tiytNlsgEn2PeB4eQzDxyvh8txEIqKncki9sUaybtRoy8Zw0xqiiEX/GQ6amSKIZV0K/ Hdbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jtVfw9IYV/aao+pW1a50/7afDylJGz4AlCh5yA7OvMI=; b=X/EyW+29welJePubvNi+W4zTODtqWREO9JPmOZGdSUQBJLbaHVdbfQotGHsh0KQlz8 YOag2P0hVpRLXe825vONvJ/oPj7pJ8pVDHqWqmDwhKQ0yJPlJ4xa1JSqf2SXB8+21EFh DTqBgPYjcKSYRnj8/OYH2Etzonuy+E0awUS6iBMBxkOnJ/oFSigkb1UOJc3ejDCSEpLW wLQGED1rEt2XSW7WZ8/A2KyVq4IdMZ/JBq3dzwodPlrTF6v4Czmv4vvmg+SfnjOWx8A4 BeqR0QgpkDhmKa6aKkg+OEF/rzUHHDu0Tmi7XWZyKbJu4BAzF7UksPkI4VTBbu0h5RYu yS7w== X-Gm-Message-State: AMCzsaVOe59c/B/Nk+79ZM245OJfx3ivisjsSaadShYMnEFDUulkCjyB NtuwAjqyTdunR2q9Ktt5qNd/YqCcLEU= X-Google-Smtp-Source: ABhQp+QM6p7O7gfotKoOlpUu4TEZa52yOKHRWxDQ/BHIlmHRCi+MORMHpUKJRGcVx7j4Ke4ZT1r2bA== X-Received: by 10.46.34.66 with SMTP id i63mr222422lji.45.1509422397706; Mon, 30 Oct 2017 20:59:57 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Tue, 31 Oct 2017 04:59:32 +0100 Message-Id: <1509422375-20198-4-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509422375-20198-1-git-send-email-mw@semihalf.com> References: <1509422375-20198-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH 3/6] Marvell/Drivers: MvSpiFlash: Remove duplicated macros X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Flash commands macros are already defined locally, so remove them from the protocol header. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas --- Platform/Marvell/Include/Protocol/SpiFlash.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Platform/Marvell/Include/Protocol/SpiFlash.h b/Platform/Marvel= l/Include/Protocol/SpiFlash.h index 4a3053e..4ba29ba 100644 --- a/Platform/Marvell/Include/Protocol/SpiFlash.h +++ b/Platform/Marvell/Include/Protocol/SpiFlash.h @@ -36,17 +36,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAM= AGE. =20 #include =20 -#define CMD_READ_ID 0x9f -#define READ_STATUS_REG_CMD 0x0b -#define CMD_WRITE_ENABLE 0x06 -#define CMD_FLAG_STATUS 0x70 -#define CMD_WRITE_STATUS_REG 0x01 -#define CMD_READ_ARRAY_FAST 0x0b -#define CMD_PAGE_PROGRAM 0x02 -#define CMD_BANK_WRITE 0xc5 -#define CMD_ERASE_64K 0xd8 -#define CMD_4B_ADDR_ENABLE 0xb7 - extern EFI_GUID gMarvellSpiFlashProtocolGuid; =20 typedef struct _MARVELL_SPI_FLASH_PROTOCOL MARVELL_SPI_FLASH_PROTOCOL; --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel