]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UfsPassThruDxe: Improve Device initialization polling Loop
authorBandaru, Purna Chandra Rao <Purna.Chandra.Rao.Bandaru@intel.com>
Tue, 2 Mar 2021 05:18:24 +0000 (13:18 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 5 Mar 2021 08:43:23 +0000 (08:43 +0000)
commitc5740f360636479fb91681093b1dee1cc366075c
treeb35606018b99da7a9ca2f7bd3698735b8cbe5ca8
parentef91b07388e1c0a50c604e5350eeda98428ccea6
MdeModulePkg/UfsPassThruDxe: Improve Device initialization polling Loop

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

Current Ufs Pass thru driver polls for 5us and return success even when
the timeout occurs.
There are cards that can take upto 600ms for Init and hence increased
the time out for fDeviceInit polling loop.

Signed-off-by: Bandaru <purna.chandra.rao.bandaru@intel.com>
Cc: Mateusz Albecki <mateusz.albecki@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h