scsi: ufs-qcom: Add ICE NOP supporting functions

Currently the ICE is disabled. Adding nop functions to Pineapple platforms
for UFS to build. The actual support of the ICE will be addressed later
when the ICE is enabled.

Change-Id: I011ec23a6ffc43fae892685740b8632a94b917f2
Signed-off-by: Can Guo <quic_cang@quicinc.com>
This commit is contained in:
Can Guo 2022-04-07 02:58:50 -07:00 committed by Gerrit - the friendly Code Review server
parent fd375a80ad
commit 99cbf18fa9
2 changed files with 26 additions and 0 deletions

View File

@ -168,6 +168,10 @@ int ufs_qcom_ice_enable(struct ufs_qcom_host *host)
return ufs_qcom_ice_resume(host);
}
void ufs_qcom_ice_disable(struct ufs_qcom_host *host)
{
}
/* Poll until all BIST bits are reset */
static int qcom_ice_wait_bist_status(struct ufs_qcom_host *host)
{

View File

@ -0,0 +1,22 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
*/
#ifndef _UFSHCD_CRYPTO_QTI_H
#define _UFSHCD_CRYPTO_QTI_H
#include "ufshcd.h"
#include "ufshcd-crypto.h"
#if IS_ENABLED(CONFIG_SCSI_UFS_CRYPTO_QTI)
int ufshcd_qti_hba_init_crypto_capabilities(struct ufs_hba *hba);
#else /* CONFIG_SCSI_UFS_CRYPTO_QTI */
static inline int ufshcd_qti_hba_init_crypto_capabilities(
struct ufs_hba *hba)
{
return 0;
}
#endif /* CONFIG_SCSI_UFS_CRYPTO_QTI */
#endif /* _UFSHCD_CRYPTO_QTI_H */