mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
2aad40d911
With the remoteproc parts cleaned out of the MDT loader we can move it to drivers/soc/qcom. Acked-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
19 lines
458 B
C
19 lines
458 B
C
#ifndef __QCOM_MDT_LOADER_H__
|
|
#define __QCOM_MDT_LOADER_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
#define QCOM_MDT_TYPE_MASK (7 << 24)
|
|
#define QCOM_MDT_TYPE_HASH (2 << 24)
|
|
#define QCOM_MDT_RELOCATABLE BIT(27)
|
|
|
|
struct device;
|
|
struct firmware;
|
|
|
|
ssize_t qcom_mdt_get_size(const struct firmware *fw);
|
|
int qcom_mdt_load(struct device *dev, const struct firmware *fw,
|
|
const char *fw_name, int pas_id, void *mem_region,
|
|
phys_addr_t mem_phys, size_t mem_size);
|
|
|
|
#endif
|