remoteproc: Move qcom_mdt_loader into drivers/soc/qcom
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>
This commit is contained in:
18
include/linux/soc/qcom/mdt_loader.h
Normal file
18
include/linux/soc/qcom/mdt_loader.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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
|
Reference in New Issue
Block a user