]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Ufs: Wait fDeviceInit be cleared by devices during init
authorHao Wu <hao.a.wu@intel.com>
Tue, 21 Mar 2017 05:22:36 +0000 (13:22 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 20 Apr 2017 05:09:51 +0000 (13:09 +0800)
commit95ad8f7f6a6c84ef46a96a8ba852afed805d1ca3
tree2e6b24620c6b114839efc90f9c4265a29b2b245b
parentedd94e74c81bc416403b7f19ca80730387ddd4c1
MdeModulePkg/Ufs: Wait fDeviceInit be cleared by devices during init

In the origin codes, the host sets the fDeviceInit flag to initiate device
initialization, but does not check whether the device resets this flag
to indicate the device initialization is completed.

Details can be referred at UFS 2.0 Spec Section 14.2 - Flags.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com>
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c