[edk2-devel] [PATCH 1/5] EmbeddedPkg: remove DwEmmcDxe host controller driver

Ard Biesheuvel posted 5 patches 4 years, 6 months ago
[edk2-devel] [PATCH 1/5] EmbeddedPkg: remove DwEmmcDxe host controller driver
Posted by Ard Biesheuvel 4 years, 6 months ago
The Synopsys DesignWare eMMC host controller driver does not implement
that SD/MMC host controller protocol that the UEFI spec defines, but an
obsolete EDK2-specific one that predates it. It also does not implement
the UEFI driver model.

Due to this, it has been moved into the edk2-platforms repository,
alongside its remaining users, which have been updated to refer to it in
its new location. So drop this version from EmbeddedPkg.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
---
 EmbeddedPkg/EmbeddedPkg.dec                 |   6 -
 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf |  49 --
 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h      | 127 ----
 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c   | 688 --------------------
 4 files changed, 870 deletions(-)

diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec
index 7e0f692d6fc1..11e9f4f57731 100644
--- a/EmbeddedPkg/EmbeddedPkg.dec
+++ b/EmbeddedPkg/EmbeddedPkg.dec
@@ -144,12 +144,6 @@ [PcdsFixedAtBuild.common]
   # LAN91x Ethernet Driver PCDs
   gEmbeddedTokenSpaceGuid.PcdLan91xDxeBaseAddress|0x0|UINT32|0x00000029
 
-  # DwEmmc Driver PCDs
-  gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeBaseAddress|0x0|UINT32|0x00000035
-  gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeClockFrequencyInHz|0x0|UINT32|0x00000036
-  gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeMaxClockFreqInHz|0x0|UINT32|0x00000037
-  gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeFifoDepth|0x0|UINT32|0x00000038
-
   #
   # Android FastBoot
   #
diff --git a/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf b/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf
deleted file mode 100644
index cf8e2422134d..000000000000
diff --git a/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h b/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h
deleted file mode 100644
index 2f3659718a39..000000000000
diff --git a/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c b/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c
deleted file mode 100644
index b95917bd7aa5..000000000000
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#58556): https://edk2.groups.io/g/devel/message/58556
Mute This Topic: https://groups.io/mt/73975411/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-