Bjorn Andersson | 051fb70 | 2016-06-20 14:28:41 -0700 | [diff] [blame] | 1 | #ifndef __QCOM_MDT_LOADER_H__ |
| 2 | #define __QCOM_MDT_LOADER_H__ |
| 3 | |
| 4 | #define QCOM_MDT_TYPE_MASK (7 << 24) |
| 5 | #define QCOM_MDT_TYPE_HASH (2 << 24) |
| 6 | #define QCOM_MDT_RELOCATABLE BIT(27) |
| 7 | |
| 8 | struct resource_table * qcom_mdt_find_rsc_table(struct rproc *rproc, const struct firmware *fw, int *tablesz); |
| 9 | int qcom_mdt_load(struct rproc *rproc, const struct firmware *fw, const char *fw_name); |
| 10 | |
| 11 | int qcom_mdt_parse(const struct firmware *fw, phys_addr_t *fw_addr, size_t *fw_size, bool *fw_relocate); |
| 12 | |
| 13 | #endif |