]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsHci.c
MdeModulePkg/Ufs: Set 'Data Segment Length' field for Write Descriptor
authorHao Wu <hao.a.wu@intel.com>
Thu, 15 Jun 2017 07:15:59 +0000 (15:15 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 2 Aug 2017 12:56:53 +0000 (20:56 +0800)
commitc16eee92d4b2e872f21645f7a4a04bbfb2a92d75
tree2f3a3e9a5ab14235414ea56ca007f13fddf24c48
parent32c9049de1225de1b1fff796369d6fa0e7c9febc
MdeModulePkg/Ufs: Set 'Data Segment Length' field for Write Descriptor

According to the Universal Flash Storage (UFS) Version 2.1 (JESD220C) spec
Section 10.7.8.5, the DATA SEGMENT LENGTH field of the UPIU shall also be
set to number of descriptor bytes to write.

The origin codes miss the above operation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsHci.c
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c