From nobody Wed Dec 25 14:06:03 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 1509731857442130.85160406776913; Fri, 3 Nov 2017 10:57:37 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id B6172202E5E68; Fri, 3 Nov 2017 10:53:37 -0700 (PDT) Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) (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 97AE4202E5E68 for ; Fri, 3 Nov 2017 10:53:36 -0700 (PDT) Received: by mail-lf0-x242.google.com with SMTP id k40so4072536lfi.4 for ; Fri, 03 Nov 2017 10:57:31 -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 g29sm1120441lfh.3.2017.11.03.10.57.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Nov 2017 10:57:28 -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::242; helo=mail-lf0-x242.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=/eN0JXl5eop+D4WwvX7De5/EiqVFIH2kzHc25yvAPr0=; b=sfgxCO97VJYrc85DhcKOFQ6YEUBrcjiNgqF9fcNQmErHsyHZlg2ml4KzFmTa7eDHZI sebJP2zNQqG/QheMvJg/2LaZLqH093GOynVXqA2oywRDwRCZBuTIyODq8LynvJ/Tfm9A 2Dc0jJT9HpvpIWOoT1YiXdtuHn9/Q9nj/NplIRHGHId36GTUFoy9EnYLy3/T+VPAhk9e 5PA2wbpioV+TINz7WKHoltth4AZXgxyKcn/GPEnRFCEUB24JfUls9It/A/8+HdgClM5S 7R35HWjOvFKWHKTAdDtrlTe4/AiqRJOA9GNNHPRQHm8nKEg9efnJTy5ZjHdXXNd9iQSu ZARw== 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=/eN0JXl5eop+D4WwvX7De5/EiqVFIH2kzHc25yvAPr0=; b=AL9xeCQZgS5/2mbtoMdk+PC2QYoKQU3V/bPsP4AtmnQ2qxwkl1XGggEQhDjPdrPKEI ENtFlnJE1SvzK7Aog/Zevqr1PhZQJ7HV41d+sXgaF6oeqmZ/CBGYTfEMQZ9tyUumqhss Ii1kecwe/OVz9l2qj90LqxwZcMcfg9Wst5jj1edhzEIdCH1FG+hLKN82L27fGJsK5XLD dtrzGNr1AZzaUWWKkldzUhaJnh1LtoMEjneUv+r5iMNgH3EKIJXAbCGDBZ8U2w1mLHSu Jf6BGsV1J9OdloUxU51HycnRan8V+mj9fkditxA+bjyWh0IrvplMtjY3HXwVCkKz/9qS dhzA== X-Gm-Message-State: AMCzsaVeO/+d8ta1wxa12q72Qbz8g1+hVXaA4rMGCUaOqBmg66fRf4sQ fcjJEwpEdPDqLXS6y7d3JwohS0Nk734= X-Google-Smtp-Source: ABhQp+TSMife77LeZ+gJWMPgHDcQuC0X14mvruS8Dw466xuxmnOyXAttXAM/QtI/cskqXRhbuIun6A== X-Received: by 10.46.17.87 with SMTP id f84mr3218596lje.167.1509731849691; Fri, 03 Nov 2017 10:57:29 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Fri, 3 Nov 2017 18:57:12 +0100 Message-Id: <1509731835-5664-4-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509731835-5664-1-git-send-email-mw@semihalf.com> References: <1509731835-5664-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 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 in MvSpiFlash.h, 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