mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
051fb70fd4
This driver supports bringing the Q6V5 out of reset, load and drive the self-authenticating boot loader and use this to load the mdt and subsequent bXX files. Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
14 lines
486 B
C
14 lines
486 B
C
#ifndef __QCOM_MDT_LOADER_H__
|
|
#define __QCOM_MDT_LOADER_H__
|
|
|
|
#define QCOM_MDT_TYPE_MASK (7 << 24)
|
|
#define QCOM_MDT_TYPE_HASH (2 << 24)
|
|
#define QCOM_MDT_RELOCATABLE BIT(27)
|
|
|
|
struct resource_table * qcom_mdt_find_rsc_table(struct rproc *rproc, const struct firmware *fw, int *tablesz);
|
|
int qcom_mdt_load(struct rproc *rproc, const struct firmware *fw, const char *fw_name);
|
|
|
|
int qcom_mdt_parse(const struct firmware *fw, phys_addr_t *fw_addr, size_t *fw_size, bool *fw_relocate);
|
|
|
|
#endif
|