]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: Add definition of the EDKII_UFS_HC_PLATFORM_PROTOCOL
authorAlbecki, Mateusz <mateusz.albecki@intel.com>
Fri, 9 Aug 2019 14:36:17 +0000 (22:36 +0800)
committerHao A Wu <hao.a.wu@intel.com>
Tue, 13 Aug 2019 02:54:35 +0000 (10:54 +0800)
commit1bfd58c22e1e123b2219ca2f21163c5ab7a7f62f
treed2c9b10ec019a8c1240d1a2ea41059e5e4246e42
parent12dcad5b1ec58eb33c351854ae37942b996ed2e5
MdeModulePkg: Add definition of the EDKII_UFS_HC_PLATFORM_PROTOCOL

https://bugzilla.tianocore.org/show_bug.cgi?id=1343

EDKII_UFS_HC_PLATFORM_PROTOCOL will allow the platform to inject
platform specific logic into standard UFS flows. Right now we
support callbacks pre and post host controller enable and pre
and post link startup. Provided callbacks allow the platform
driver to inject UIC programming after HCE is set which is
a standard initialization step covered by UFS specification as
well as cover some additional use cases during other callbacks.
For instance platform driver may switch to fast mode after link
startup.

We also allow the platform to override host controller capabilities
and version which might be useful to manage silicon bugs or
allow testing experimental features from new versions of the
specification.

Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Include/Protocol/UfsHostControllerPlatform.h [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dec