From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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 AE2E72034AB21 for ; Mon, 30 Oct 2017 20:56:04 -0700 (PDT) Received: by mail-lf0-x244.google.com with SMTP id a2so17363248lfh.11 for ; Mon, 30 Oct 2017 20:59:55 -0700 (PDT) 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; bh=VIX3vSKPJmLpncaugl3QOT04/u1kqtUZ87zgjLra0Nw=; b=xzQB5odreyll/+lcoG8zczpd4PFsXx5NIYTReXTnI0U9JKSCqSTPBjf21FYDlstK82 VxTPpUfUXokYwcG/K0z3L2+JlsyHbsc1BNmxOwXk35Aun1NqjCfewQCJA+iZvTHlZdWf IPBbLvT1hP9iy5IXWMyNtNU5c1HCNuQrCl8SAU0KkmWFNrqFu6ovvEMpmt92ruO1rTE/ k7pBWVM7Gg/9eX97PUfk5Nu6VinijVmEQMfcyyEeCwoDQg3aASP6RXQHSSfsQt13aDx+ I8IljOKfTgM0IcLD5/akZn5tg8qHBTMDWMz8DtXNTAFuQUtUvcczYOASjHJtuu3PCO6l iHDw== 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; bh=VIX3vSKPJmLpncaugl3QOT04/u1kqtUZ87zgjLra0Nw=; b=lGDmZGUCvU9Tn3OQMBxk8HVqt39bR4WKNdhkMQCQIsKsAe0LXJRGD+MJMlQfCtToIo agaEZf639DZQy7r7TxroZCMPFSOqPz6NBIa/e2ce3qKGezZQcl4qygGGOR8Ol1yLVrhk 3v8lnVtgRg8xmfqhBd8CCt20I4ncrFCKEnVP2yMgxEP+I7Mq685ziDdJWZDmhk+PODCb 1YZN7r3A7v16Niwd1GuYYWgSayeqvhhQzbsX+QTl8ijr+/yC+3+Sp28wdSl/AheRpGhY Zv4G8lp7uSjsN2UlmkcHrAeeMOfr6zk5psAJTFZUnTLxt2b+vcAbEo+m//yYq5BB1rSq jnGw== X-Gm-Message-State: AMCzsaXzABYkjL4o0/HjsPbg3CbhZ7kxBaerN+OE/gfbm8G7+9mWYU+2 9wLfaQmlvShlYgKiPGfGXpokhtJ1Ngw= X-Google-Smtp-Source: ABhQp+Rse/c4goq4CjjHrIGOHF8OxmHh3Mx5VOJg0nK8RB1O4FHJNCYU43DOOA9TsqfpP8vTj8ad4g== X-Received: by 10.25.79.18 with SMTP id d18mr176109lfb.246.1509422393250; Mon, 30 Oct 2017 20:59:53 -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.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Oct 2017 20:59:52 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com, jinghua@marvell.com, mw@semihalf.com, jsd@semihalf.com Date: Tue, 31 Oct 2017 04:59:29 +0100 Message-Id: <1509422375-20198-1-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 Subject: [platforms: PATCH 0/6] Armada 7k/8k SPI improvements pt 2. 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: , X-List-Received-Date: Tue, 31 Oct 2017 03:56:05 -0000 Hi, I submit a series, which comprises a major rework allowing to make use of dynamic SPI NOR flash detection with recently implemented NorFlashInfoLib. Comparing to initial version of the patches, apart from the flash info table extraction, also the functional changes around ReadId are taken into a separate commit. This, I hope, results in readable patchset. Patches are available in the github: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/spi-upstream-r20171031 NorFlashInfoLib: https://github.com/MarvellEmbeddedProcessors/edk2/commits/norlib-upstream-r20171030 I'm looking forward to the comments or remarks. Best regards, Marcin Marcin Wojtas (6): Marvell/Drivers: MvSpiFlash: Improve ReadId Marvell/Drivers: MvSpiFlash: Enable dynamic SPI Flash detection Marvell/Drivers: MvSpiFlash: Remove duplicated macros Marvell/Applications: SpiTool: Do not override existing slave device Marvell/Drivers: MvSpiFlash: Fix bank selection for Spansion Marvell/Drivers: MvSpiDxe: Keep data in SPI_DEVICE structure Platform/Marvell/Applications/FirmwareUpdate/FUpdate.c | 25 +---- Platform/Marvell/Applications/FirmwareUpdate/FUpdate.inf | 4 +- Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c | 44 +++----- Platform/Marvell/Applications/SpiTool/SpiFlashCmd.inf | 2 +- Platform/Marvell/Armada/Armada.dsc.inc | 1 + Platform/Marvell/Armada/Armada70x0.dsc | 5 - Platform/Marvell/Drivers/Spi/Devices/MvSpiFlash.c | 108 ++++++++++++-------- Platform/Marvell/Drivers/Spi/Devices/MvSpiFlash.h | 6 ++ Platform/Marvell/Drivers/Spi/Devices/MvSpiFlash.inf | 9 +- Platform/Marvell/Drivers/Spi/MvSpiDxe.c | 63 +++++++----- Platform/Marvell/Drivers/Spi/MvSpiDxe.h | 1 + Platform/Marvell/Drivers/Spi/MvSpiDxe.inf | 2 + Platform/Marvell/Include/Protocol/Spi.h | 6 ++ Platform/Marvell/Include/Protocol/SpiFlash.h | 14 +-- Platform/Marvell/Marvell.dec | 6 -- Silicon/Marvell/Documentation/PortingGuide.txt | 18 ---- 16 files changed, 141 insertions(+), 173 deletions(-) -- 2.7.4