35 lines
702 B
C
Executable File
35 lines
702 B
C
Executable File
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2021-2023, Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _QCOM_RPROC_SPSS_H_
|
|
#define _QCOM_RPROC_SPSS_H_
|
|
|
|
/*
|
|
* Include this file only after including linux/remoteproc.h
|
|
*/
|
|
|
|
#if IS_ENABLED(CONFIG_QCOM_SPSS)
|
|
|
|
extern int qcom_spss_set_fw_name(struct rproc *rproc, const char *fw_name);
|
|
|
|
extern int get_spss_image_size(phys_addr_t base_addr);
|
|
|
|
#else
|
|
|
|
static inline int qcom_spss_set_fw_name(struct rproc *rproc, const char *fw_name)
|
|
{
|
|
return -ENODEV;
|
|
}
|
|
|
|
static inline int get_spss_image_size(phys_addr_t base_addr)
|
|
{
|
|
return -ENODEV;
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|