[edk2] [platforms: PATCH 0/6] Armada 7k/8k SPI improvements pt 2.

Marcin Wojtas posted 6 patches 7 years, 1 month ago
Failed in applying to current master (apply log)
There is a newer version of this series
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(-)
[edk2] [platforms: PATCH 0/6] Armada 7k/8k SPI improvements pt 2.
Posted by Marcin Wojtas 7 years, 1 month ago
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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel