[edk2] [PATCH v1 0/2] add DwMmcHcDxe driver

Haojian Zhuang posted 2 patches 17 weeks ago
Failed in applying to current master (apply log)
EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec                               |   40 +
EmbeddedPkg/EmbeddedPkg.dec                                                 |    1 +
EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf                               |   69 +
EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.inf |   52 +
EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h                                 |  815 +++++++
EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h                                   |  983 ++++++++
EmbeddedPkg/Include/Protocol/PlatformDwMmc.h                                |   79 +
EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.h    |   92 +
EmbeddedPkg/Drivers/DwMmcHcDxe/ComponentName.c                              |  214 ++
EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.c                                 | 1295 +++++++++++
EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.c                                   | 2366 ++++++++++++++++++++
EmbeddedPkg/Drivers/DwMmcHcDxe/EmmcDevice.c                                 | 1042 +++++++++
EmbeddedPkg/Drivers/DwMmcHcDxe/SdDevice.c                                   | 1104 +++++++++
EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/ComponentName.c              |  124 +
EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.c   |  243 ++
EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.c    |  972 ++++++++
16 files changed, 9491 insertions(+)
create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec
create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf
create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.inf
create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h
create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h
create mode 100644 EmbeddedPkg/Include/Protocol/PlatformDwMmc.h
create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.h
create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/ComponentName.c
create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.c
create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.c
create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/EmmcDevice.c
create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/SdDevice.c
create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/ComponentName.c
create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.c
create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.c

[edk2] [PATCH v1 0/2] add DwMmcHcDxe driver

Posted by Haojian Zhuang 17 weeks ago
Changelog:
v1:
  *Add NonDiscoverableDeviceDxe for embedded platform. Make DwMmcHcDxe driver
   to support both eMMC and SD controller.

Haojian Zhuang (2):
  EmbeddedPkg: add NonDiscoverableDeviceDxe driver
  EmbeddedPkg: add DwMmcHcDxe driver

 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec                               |   40 +
 EmbeddedPkg/EmbeddedPkg.dec                                                 |    1 +
 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf                               |   69 +
 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.inf |   52 +
 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h                                 |  815 +++++++
 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h                                   |  983 ++++++++
 EmbeddedPkg/Include/Protocol/PlatformDwMmc.h                                |   79 +
 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.h    |   92 +
 EmbeddedPkg/Drivers/DwMmcHcDxe/ComponentName.c                              |  214 ++
 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.c                                 | 1295 +++++++++++
 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.c                                   | 2366 ++++++++++++++++++++
 EmbeddedPkg/Drivers/DwMmcHcDxe/EmmcDevice.c                                 | 1042 +++++++++
 EmbeddedPkg/Drivers/DwMmcHcDxe/SdDevice.c                                   | 1104 +++++++++
 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/ComponentName.c              |  124 +
 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.c   |  243 ++
 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.c    |  972 ++++++++
 16 files changed, 9491 insertions(+)
 create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec
 create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf
 create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.inf
 create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h
 create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h
 create mode 100644 EmbeddedPkg/Include/Protocol/PlatformDwMmc.h
 create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.h
 create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/ComponentName.c
 create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.c
 create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.c
 create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/EmmcDevice.c
 create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/SdDevice.c
 create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/ComponentName.c
 create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.c
 create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.c

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
-- 
2.7.4

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

Re: [edk2] [PATCH v1 0/2] add DwMmcHcDxe driver

Posted by Leif Lindholm 17 weeks ago
Haojian,

This is kind of massive.
Is there any way it could be broken into more patches?
The NonDiscoverableDeviceDxe patch is OK, but the changes to
DwMmcHcDxe are gargantuan.

Chris - does any of this turn into something you could use for your
platforms?

/
    Leis

On Fri, Aug 10, 2018 at 04:49:13PM +0800, Haojian Zhuang wrote:
> Changelog:
> v1:
>   *Add NonDiscoverableDeviceDxe for embedded platform. Make DwMmcHcDxe driver
>    to support both eMMC and SD controller.
> 
> Haojian Zhuang (2):
>   EmbeddedPkg: add NonDiscoverableDeviceDxe driver
>   EmbeddedPkg: add DwMmcHcDxe driver
> 
>  EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec                               |   40 +
>  EmbeddedPkg/EmbeddedPkg.dec                                                 |    1 +
>  EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf                               |   69 +
>  EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.inf |   52 +
>  EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h                                 |  815 +++++++
>  EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h                                   |  983 ++++++++
>  EmbeddedPkg/Include/Protocol/PlatformDwMmc.h                                |   79 +
>  EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.h    |   92 +
>  EmbeddedPkg/Drivers/DwMmcHcDxe/ComponentName.c                              |  214 ++
>  EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.c                                 | 1295 +++++++++++
>  EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.c                                   | 2366 ++++++++++++++++++++
>  EmbeddedPkg/Drivers/DwMmcHcDxe/EmmcDevice.c                                 | 1042 +++++++++
>  EmbeddedPkg/Drivers/DwMmcHcDxe/SdDevice.c                                   | 1104 +++++++++
>  EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/ComponentName.c              |  124 +
>  EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.c   |  243 ++
>  EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.c    |  972 ++++++++
>  16 files changed, 9491 insertions(+)
>  create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec
>  create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf
>  create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.inf
>  create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h
>  create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h
>  create mode 100644 EmbeddedPkg/Include/Protocol/PlatformDwMmc.h
>  create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.h
>  create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/ComponentName.c
>  create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.c
>  create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.c
>  create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/EmmcDevice.c
>  create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/SdDevice.c
>  create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/ComponentName.c
>  create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.c
>  create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.c
> 
> Cc: Leif Lindholm <leif.lindholm@linaro.org>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> -- 
> 2.7.4
> 
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel