]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsHci.c
MdeModulePkg/UfsBlockIoPei: fix the bit in UFS_HC_UTRLDBR_OFFSET reg
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Mon, 16 Jan 2017 12:22:56 +0000 (20:22 +0800)
committerFeng Tian <feng.tian@intel.com>
Fri, 20 Jan 2017 01:11:24 +0000 (09:11 +0800)
commita68093d5d0eb9f5b8dce1ef03749463e6f0dae93
tree3a9c0e748b9b51469b3aac633735bb50072fd1c8
parent13fca387b30824ac9458abe2620cc12d9fa80dbc
MdeModulePkg/UfsBlockIoPei: fix the bit in UFS_HC_UTRLDBR_OFFSET reg

When UPIU packet is sent, (BIT0 << Slot) should be set according
to context.  But BIT0 is used without Slot when UfsWaitMemSet ()
is invoked.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Feng Tian <feng.tian@intel.com>
MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsHci.c