public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH V2 0/6] SPI NOR Flash Driver for SFDP flash device
@ 2023-08-01  7:57 Chang, Abner via groups.io
  2023-08-01  7:57 ` [edk2-devel] [PATCH V2 1/6] MdePkg/Include: Update definitions of SPI related header files Chang, Abner via groups.io
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Chang, Abner via groups.io @ 2023-08-01  7:57 UTC (permalink / raw)
  To: devel
  Cc: Michael D Kinney, Liming Gao, Zhiguang Liu, Abdul Lateef Attar,
	Hao A Wu, Ray Ni, Jian J Wang, Brit Chesley

From: Abner Chang <abner.chang@amd.com>

In V2: Add maintainer entry for Bus/Spi.

This patch fixes the missing SPI defintions per to the
PIWG approval against PI spec 1.8 errata for ticket #2394.
This patch also provides the implemtation of SPI NOR flash
driver that supports JEDEC SFDP specification.
This driver support the flash device that has the GUID
gEdk2JedecSfdpSpiDxeDriverGuid or gEdk2JedecSfdpSpiSmmDriverGuid
declared in EFI_SPI_PERIPHERAL SpiPeripheralDriverGuid structure.

The driver has been verified with Macronix MX25U6435F flash device.

Signed-off-by: Abner Chang <abner.chang@amd.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Abdul Lateef Attar <abdattar@amd.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Brit Chesley <brit.chesley@amd.com>

Abner Chang (6):
  MdePkg/Include: Update definitions of SPI related header files
  MdePkg/Include: Add SPI NOR Flash JEDEC SFDP header file
  MdePkg: Add definitions in DEC for SPI NOR Flash SPDF driver
  MdeModulePkg/SpiNorFlashJedecSfdp: SPI NOR Flash JEDEC SFDP
  MdeModulePkg: Add SPI NOR FLash SFDP drivers to DSC
  Maintainers.txt: Update maintainer for SPI modules

 MdePkg/MdePkg.dec                             |   19 +
 MdeModulePkg/MdeModulePkg.dsc                 |    2 +
 .../SpiNorFlashJedecSfdpDxe.inf               |   63 +
 .../SpiNorFlashJedecSfdpSmm.inf               |   63 +
 .../Spi/SpiNorFlashJedecSfdp/SpiNorFlash.h    |  274 +++
 .../SpiNorFlashJedecSfdpInternal.h            |  294 +++
 .../IndustryStandard/SpiNorFlashJedecSfdp.h   |  324 +++
 MdePkg/Include/Protocol/SpiConfiguration.h    |    8 +
 MdePkg/Include/Protocol/SpiHc.h               |   14 +
 MdePkg/Include/Protocol/SpiIo.h               |   10 +
 .../Spi/SpiNorFlashJedecSfdp/SpiNorFlash.c    | 1114 +++++++++++
 .../SpiNorFlashJedecSfdp.c                    | 1772 +++++++++++++++++
 .../SpiNorFlashJedecSfdpDxe.c                 |  261 +++
 .../SpiNorFlashJedecSfdpSmm.c                 |  234 +++
 Maintainers.txt                               |    5 +
 .../SpiNorFlashJedecSfdpDxe.uni               |   13 +
 .../SpiNorFlashJedecSfdpExtra.uni             |   11 +
 .../SpiNorFlashJedecSfdpSmm.uni               |   13 +
 18 files changed, 4494 insertions(+)
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdpDxe.inf
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdpSmm.inf
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlash.h
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdpInternal.h
 create mode 100644 MdePkg/Include/IndustryStandard/SpiNorFlashJedecSfdp.h
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlash.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdp.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdpDxe.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdpSmm.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdpDxe.uni
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdpExtra.uni
 create mode 100644 MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdpSmm.uni

-- 
2.37.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107418): https://edk2.groups.io/g/devel/message/107418
Mute This Topic: https://groups.io/mt/100478917/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-08-03 11:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01  7:57 [edk2-devel] [PATCH V2 0/6] SPI NOR Flash Driver for SFDP flash device Chang, Abner via groups.io
2023-08-01  7:57 ` [edk2-devel] [PATCH V2 1/6] MdePkg/Include: Update definitions of SPI related header files Chang, Abner via groups.io
2023-08-02  5:41   ` [edk2-devel] 回复: " gaoliming via groups.io
2023-08-02  7:48     ` [edk2-devel] " Chang, Abner via groups.io
2023-08-03 11:04       ` 回复: " gaoliming via groups.io
2023-08-01  7:57 ` [edk2-devel] [PATCH V2 2/6] MdePkg/Include: Add SPI NOR Flash JEDEC SFDP header file Chang, Abner via groups.io
2023-08-01  7:57 ` [edk2-devel] [PATCH V2 3/6] MdePkg: Add definitions in DEC for SPI NOR Flash SPDF driver Chang, Abner via groups.io
2023-08-02  8:06   ` [edk2-devel] 回复: " gaoliming via groups.io
2023-08-02  8:50     ` [edk2-devel] " Chang, Abner via groups.io
2023-08-01  7:57 ` [edk2-devel] [PATCH V2 4/6] MdeModulePkg/SpiNorFlashJedecSfdp: SPI NOR Flash JEDEC SFDP Chang, Abner via groups.io
2023-08-01  7:57 ` [edk2-devel] [PATCH V2 5/6] MdeModulePkg: Add SPI NOR FLash SFDP drivers to DSC Chang, Abner via groups.io
2023-08-01  7:57 ` [edk2-devel] [PATCH V2 6/6] Maintainers.txt: Update maintainer for SPI modules Chang, Abner via groups.io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox