1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __QCOM_MDT_LOADER_H__
3 #define __QCOM_MDT_LOADER_H__
5 #include <linux/types.h>
7 #define QCOM_MDT_TYPE_MASK (7 << 24)
8 #define QCOM_MDT_TYPE_HASH (2 << 24)
9 #define QCOM_MDT_RELOCATABLE BIT(27)
14 ssize_t
qcom_mdt_get_size(const struct firmware
*fw
);
15 int qcom_mdt_load(struct device
*dev
, const struct firmware
*fw
,
16 const char *fw_name
, int pas_id
, void *mem_region
,
17 phys_addr_t mem_phys
, size_t mem_size
);