~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 87d9d76eba46237c996a7647f32ac19e242c0839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
dorprocboot=0
boot_rprocs=
	if test ${dorprocboot} -eq 1 && test ${boot} = mmc; then
			rproc init;
			run boot_rprocs_mmc;
		fi;
rproc_load_and_boot_one=
	if load mmc ${bootpart} $loadaddr ${rproc_fw}; then
		if rproc load ${rproc_id} ${loadaddr} ${filesize}; then
			rproc start ${rproc_id};
		fi;
	fi
boot_rprocs_mmc=
	env set rproc_id;
	env set rproc_fw;
	for i in ${rproc_fw_binaries} ; do
		if test -z "${rproc_id}" ; then
			env set rproc_id $i;
		else
			env set rproc_fw $i;
			run rproc_load_and_boot_one;
			env set rproc_id;
			env set rproc_fw;
		fi;
	done