public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [platforms: PATCH 0/7] Armada7k8k Xenon driver rework
@ 2018-09-03  4:53 Marcin Wojtas
  2018-09-03  4:53 ` [platforms: PATCH 1/7] Silicon/SynQuacer/PlatformDxe: Modify initialization of SdMmcOverride Marcin Wojtas
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Marcin Wojtas @ 2018-09-03  4:53 UTC (permalink / raw)
  To: edk2-devel; +Cc: leif.lindholm, ard.biesheuvel, nadavh, mw, jsd, jaz

Hi,

This patchset adds one improvement for the Synquacer controller,
so that it can handle any SdMmcOverride protocol extending
in future. Other than that a huge rework of the Xenon
SdMmc controller is done - main changes:
- Describe per-board configration using MvBoardDescLib infrastructure
- Use this description in the Xenon driver and update its PHY
  configuration
- Switch to generic EDK2 SdMmc driver and use extended SdMmcOverride
  protocol

Patches are available in the github:
https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/xenon-upstream-r20180902

Generic driver patches with fixes and extended SdMmcOverride protocol:
https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/sdmmc-override-upstream-r20180902

I'm looking forward to the comments and remarks.

Best regards,
Marcin

Tomasz Michalec (7):
  Silicon/SynQuacer/PlatformDxe: Modify initialization of SdMmcOverride
  Marvell/Library: ArmadaBoardDescLib: Extend SDMMC information
  SolidRun/Armada80x0McBin: Introduce board description library
  Marvell/Armada70x0Db: Introduce board description library
  Marvell/Armada80x0Db: Introduce board description library
  Marvell/Drivers: MvBoardDesc: Extend information for SdMmc
  Marvell/Drivers: XenonDxe: Switch to use generic SdMmcPciHcDxe

 Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc                                                 |    3 +-
 Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc                                                |    3 +
 Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc                                                |    3 +
 Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc                                         |    3 +
 Silicon/Marvell/Armada7k8k/Armada7k8k.fdf                                                     |    3 +-
 Platform/Marvell/Armada70x0Db/Armada70x0DbBoardDescLib/Armada70x0DbBoardDescLib.inf           |   34 +
 Platform/Marvell/Armada80x0Db/Armada80x0DbBoardDescLib/Armada80x0DbBoardDescLib.inf           |   34 +
 Platform/SolidRun/Armada80x0McBin/Armada80x0McBinBoardDescLib/Armada80x0McBinBoardDescLib.inf |   34 +
 Silicon/Marvell/Drivers/BoardDesc/MvBoardDescDxe.inf                                          |    1 +
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/{SdMmcPciHcDxe.inf => XenonDxe.inf}                    |   33 +-
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.h                                        |  791 --------
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHci.h                                          |  550 ------
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonPciHci.h                                          |  151 ++
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonSdMmcOverride.h                                   |   53 +
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonSdhci.h                                           |   84 +-
 Silicon/Marvell/Include/Library/ArmadaBoardDescLib.h                                          |   17 +-
 Platform/Marvell/Armada70x0Db/Armada70x0DbBoardDescLib/Armada70x0DbBoardDescLib.c             |   66 +
 Platform/Marvell/Armada80x0Db/Armada80x0DbBoardDescLib/Armada80x0DbBoardDescLib.c             |   66 +
 Platform/SolidRun/Armada80x0McBin/Armada80x0McBinBoardDescLib/Armada80x0McBinBoardDescLib.c   |   66 +
 Silicon/Marvell/Drivers/BoardDesc/MvBoardDescDxe.c                                            |   24 +-
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/ComponentName.c                                        |  211 ---
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/EmmcDevice.c                                           | 1164 ------------
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdDevice.c                                             | 1190 ------------
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.c                                        | 1320 --------------
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHci.c                                          | 1928 --------------------
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonPciHci.c                                          |  321 ++++
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonSdMmcOverride.c                                   |  455 +++++
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonSdhci.c                                           |  397 ++--
 Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/Emmc.c                                        |   20 +-
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.uni                                      |   23 -
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHcDxeExtra.uni                                 |   19 -
 31 files changed, 1686 insertions(+), 7381 deletions(-)
 create mode 100644 Platform/Marvell/Armada70x0Db/Armada70x0DbBoardDescLib/Armada70x0DbBoardDescLib.inf
 create mode 100644 Platform/Marvell/Armada80x0Db/Armada80x0DbBoardDescLib/Armada80x0DbBoardDescLib.inf
 create mode 100644 Platform/SolidRun/Armada80x0McBin/Armada80x0McBinBoardDescLib/Armada80x0McBinBoardDescLib.inf
 rename Silicon/Marvell/Drivers/SdMmc/XenonDxe/{SdMmcPciHcDxe.inf => XenonDxe.inf} (65%)
 delete mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.h
 delete mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHci.h
 create mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonPciHci.h
 create mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonSdMmcOverride.h
 create mode 100644 Platform/Marvell/Armada70x0Db/Armada70x0DbBoardDescLib/Armada70x0DbBoardDescLib.c
 create mode 100644 Platform/Marvell/Armada80x0Db/Armada80x0DbBoardDescLib/Armada80x0DbBoardDescLib.c
 create mode 100644 Platform/SolidRun/Armada80x0McBin/Armada80x0McBinBoardDescLib/Armada80x0McBinBoardDescLib.c
 delete mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/ComponentName.c
 delete mode 100755 Silicon/Marvell/Drivers/SdMmc/XenonDxe/EmmcDevice.c
 delete mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdDevice.c
 delete mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.c
 delete mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHci.c
 create mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonPciHci.c
 create mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonSdMmcOverride.c
 delete mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.uni
 delete mode 100644 Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHcDxeExtra.uni

-- 
2.7.4



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

end of thread, other threads:[~2018-09-07 13:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-03  4:53 [platforms: PATCH 0/7] Armada7k8k Xenon driver rework Marcin Wojtas
2018-09-03  4:53 ` [platforms: PATCH 1/7] Silicon/SynQuacer/PlatformDxe: Modify initialization of SdMmcOverride Marcin Wojtas
2018-09-06 14:04   ` Ard Biesheuvel
2018-09-06 14:26     ` Marcin Wojtas
2018-09-06 14:31       ` Ard Biesheuvel
2018-09-06 14:38         ` Marcin Wojtas
2018-09-06 14:45           ` Ard Biesheuvel
2018-09-07 11:29             ` Ard Biesheuvel
2018-09-07 13:30               ` Marcin Wojtas
2018-09-03  4:53 ` [platforms: PATCH 2/7] Marvell/Library: ArmadaBoardDescLib: Extend SDMMC information Marcin Wojtas
2018-09-03  4:53 ` [platforms: PATCH 3/7] SolidRun/Armada80x0McBin: Introduce board description library Marcin Wojtas
2018-09-03  4:54 ` [platforms: PATCH 4/7] Marvell/Armada70x0Db: " Marcin Wojtas
2018-09-03  4:54 ` [platforms: PATCH 5/7] Marvell/Armada80x0Db: " Marcin Wojtas
2018-09-03  4:54 ` [platforms: PATCH 6/7] Marvell/Drivers: MvBoardDesc: Extend information for SdMmc Marcin Wojtas
2018-09-03  4:54 ` [platforms: PATCH 7/7] Marvell/Drivers: XenonDxe: Switch to use generic SdMmcPciHcDxe Marcin Wojtas

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