mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 06:42:56 +00:00
65dbb128fb
Add K3 common environment variables to .env. We retain the old-style C environment .h files to maintain compatibility with other K3 boards that have not moved to using .env yet. Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
26 lines
568 B
Bash
26 lines
568 B
Bash
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
|
|
|