配置时钟
配置clk
与小核的 boot
选项,驱动位于kernel/linux-4.9/drivers/remoteproc/sunxi_rproc_boot.c
可以自行参考
struct sunxi_core *sunxi_remote_core_find(const char *name);
int sunxi_core_init(struct sunxi_core *core);
void sunxi_core_deinit(struct sunxi_core *core);
int sunxi_core_start(struct sunxi_core *core);
int sunxi_core_is_start(struct sunxi_core *core);
int sunxi_core_stop(struct sunxi_core *core);
void sunxi_core_set_start_addr(struct sunxi_core *core, u32 addr);
void sunxi_core_set_freq(struct sunxi_core *core, u32 freq);