]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c
MdeModulePkg/UfsPassThruDxe: fix the bit in UFS_HC_UTRLDBR_OFFSET reg
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Mon, 16 Jan 2017 12:22:55 +0000 (20:22 +0800)
committerFeng Tian <feng.tian@intel.com>
Fri, 20 Jan 2017 01:11:24 +0000 (09:11 +0800)
commit13fca387b30824ac9458abe2620cc12d9fa80dbc
treebaf24488e65d6000b74bbfd588ca482f5ee94d10
parenta2e3feb687c9ee13d17fd319bf58f6e752225495
MdeModulePkg/UfsPassThruDxe: 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/UfsPassThruDxe/UfsPassThruHci.c