diff options
author | Bhupesh Sharma <bhupesh.sharma@linaro.org> | 2023-07-03 00:39:12 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-14 15:21:08 -0400 |
commit | 820801eacccd1b6913b101ffb2f518aa1bc24fdf (patch) | |
tree | b6b5bce6fb45ceb3fc57cf4703fcad425dbfdfd3 /lib/efi_loader/efi_device_path.c | |
parent | 910b01c27c0499ae8f84104a0db745dd3a056c04 (diff) |
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>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions