Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / soc / qcom / mdt_loader.h
blobbd8e0864b05923a8b4232ca82ffe62b9a9ba4208
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)
11 struct device;
12 struct firmware;
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);
19 #endif