mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
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:
parent
fd375a80ad
commit
99cbf18fa9
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
22
drivers/scsi/ufs/ufshcd-crypto-qti.h
Normal file
22
drivers/scsi/ufs/ufshcd-crypto-qti.h
Normal 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 */
|
||||
Loading…
Reference in New Issue
Block a user