[edk2-devel] [PATCH edk2-platforms v3 5/8] Platform/HiKey: switch to relocated version of eMMC driver
Ard Biesheuvel
ard.biesheuvel at arm.com
Thu Apr 30 17:16:46 UTC 2020
Switch to the version of the DesignWare eMMC host controller driver
that was moved into edk2-platforms, as part of a spring cleaning
exercise of EmbeddedPkg.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel at arm.com>
---
Platform/Hisilicon/HiKey/HiKey.dsc | 7 ++++---
Platform/Hisilicon/HiKey/HiKey.fdf | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/Platform/Hisilicon/HiKey/HiKey.dsc b/Platform/Hisilicon/HiKey/HiKey.dsc
index bcbe4fafce1a..600f19a30762 100644
--- a/Platform/Hisilicon/HiKey/HiKey.dsc
+++ b/Platform/Hisilicon/HiKey/HiKey.dsc
@@ -131,8 +131,9 @@ [PcdsFixedAtBuild.common]
#
# DW MMC/SD card controller
#
- gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeBaseAddress|0xF723D000
- gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeClockFrequencyInHz|100000000
+ gDesignWareTokenSpaceGuid.PcdDwEmmcDxeBaseAddress|0xF723D000
+ gDesignWareTokenSpaceGuid.PcdDwEmmcDxeClockFrequencyInHz|100000000
+ gDesignWareTokenSpaceGuid.PcdDwPermitObsoleteDrivers|TRUE
#
#
@@ -216,7 +217,7 @@ [Components.common]
# MMC/SD
#
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf
+ Silicon/Synopsys/DesignWare/Drivers/DwEmmcDxe/DwEmmcDxe.inf
#
# USB Host Support
diff --git a/Platform/Hisilicon/HiKey/HiKey.fdf b/Platform/Hisilicon/HiKey/HiKey.fdf
index 33fa0da208fb..657e6c8ef2ec 100644
--- a/Platform/Hisilicon/HiKey/HiKey.fdf
+++ b/Platform/Hisilicon/HiKey/HiKey.fdf
@@ -128,7 +128,7 @@ [FV.FvMain]
# Multimedia Card Interface
#
INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
- INF EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf
+ INF Silicon/Synopsys/DesignWare/Drivers/DwEmmcDxe/DwEmmcDxe.inf
#
# USB Host Support
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#58453): https://edk2.groups.io/g/devel/message/58453
Mute This Topic: https://groups.io/mt/73380295/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list