Neha Malcom Francis | a2e532c | 2023-03-15 10:57:43 +0530 | [diff] [blame] | 1 | dorprocboot=0 |
| 2 | boot_rprocs= |
| 3 | if test ${dorprocboot} -eq 1 && test ${boot} = mmc; then |
| 4 | rproc init; |
| 5 | run boot_rprocs_mmc; |
| 6 | fi; |
| 7 | rproc_load_and_boot_one= |
| 8 | if load mmc ${bootpart} $loadaddr ${rproc_fw}; then |
| 9 | if rproc load ${rproc_id} ${loadaddr} ${filesize}; then |
Manorit Chawdhry | abaf74f | 2023-05-15 12:22:42 +0530 | [diff] [blame] | 10 | rproc start ${rproc_id}; |
Neha Malcom Francis | a2e532c | 2023-03-15 10:57:43 +0530 | [diff] [blame] | 11 | fi; |
| 12 | fi |
| 13 | boot_rprocs_mmc= |
| 14 | env set rproc_id; |
| 15 | env set rproc_fw; |
| 16 | for i in ${rproc_fw_binaries} ; do |
Manorit Chawdhry | abaf74f | 2023-05-15 12:22:42 +0530 | [diff] [blame] | 17 | if test -z "${rproc_id}" ; then |
Neha Malcom Francis | a2e532c | 2023-03-15 10:57:43 +0530 | [diff] [blame] | 18 | env set rproc_id $i; |
| 19 | else |
| 20 | env set rproc_fw $i; |
| 21 | run rproc_load_and_boot_one; |
| 22 | env set rproc_id; |
| 23 | env set rproc_fw; |
| 24 | fi; |
| 25 | done |
| 26 | |