ufs: enable Micron HID feature.

On previous projects, Micron use Samsung driver to fulfill the
TW, HPB and HID features, so could use CONFIG_MICRON_HPB to check
if the Micron chip of one project support TW, HPB and HID.

However, we have use original WB to instead of Samsung TW, and disable
HPB also. Now, Micron use Samsung HID driver only, we need add Micron
HID config to enable Samsung feature init, or Micron HID funcion will
not active.

Change-Id: Ie75bd535e4b56e7d359f3b8687fa30405ade6358
Reviewed-on: https://gerrit.mot.com/2774267
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zonghua Liu <a17671@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
zhu chuanchun 2023-10-23 15:22:18 +08:00 • committed by Xiaojun Ji
commit 117cca314f

View file

@ -243,7 +243,7 @@ static inline int is_support_hpb_100_device(unsigned int mfrid){
#endif
#if defined(CONFIG_UFSFEATURE)
static inline int is_support_hpb_200_device(unsigned int mfrid){
#if defined(CONFIG_MICRON_HPB)
#if defined(CONFIG_MICRON_HPB) || defined(CONFIG_MICRON_UFSHID)
return (IS_SAMSUNG_DEVICE(mfrid) || IS_MICRON_DEVICE(mfrid));
#else
return IS_SAMSUNG_DEVICE(mfrid);