u-boot/drivers/ufs
Bhupesh Sharma 820801eacc ufs: Use 'TASK_TAG' to construct the ucd_req_ptr->header.dword_0
Instead of using the hard-coded value of 0x1f, use 'TASK_TAG'
macro instead to construct the ucd_req_ptr->header.dword_0

This is in sync with what the Linux UFS driver does, i.e.
set the byte0 equal to TASK_TAG (see [1]).

Setting it to a fixed value of 0x1f is wrong as we define
TASK_TAG as 0 inside u-boot ufs framework. So, instead we
should  use the macro value directly.

[1]. https://github.com/torvalds/linux/blob/master/drivers/ufs/core/ufshcd.c#L2705

Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
2023-07-14 15:21:08 -04:00
..
cdns-platform.c ufs: Drop dm.h header file 2020-08-03 22:19:54 -04:00
Kconfig lib: fix selection of CONFIG_CHARSET 2022-05-03 21:39:22 +02:00
Makefile ufs: Add glue layer driver for TI J721E devices 2019-10-23 20:47:12 -04:00
ti-j721e-ufs.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ufs-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
ufs.c ufs: Use 'TASK_TAG' to construct the ucd_req_ptr->header.dword_0 2023-07-14 15:21:08 -04:00
ufs.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
unipro.h ufs: Add Initial Support for UFS subsystem 2019-10-23 20:47:12 -04:00