mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 03:53:31 +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>
22 lines
679 B
Bash
22 lines
679 B
Bash
scsirootfstype=ext4 rootwait
|
|
ufs_finduuid=part uuid scsi ${bootpart} uuid
|
|
args_ufs=setenv devtype scsi;setenv bootpart 1:1;
|
|
run ufs_finduuid;
|
|
setenv bootargs console = ${console}
|
|
${optargs}
|
|
root=PARTUUID=${uuid} rw
|
|
rootfstype=${scsirootfstype};
|
|
setenv devtype scsi;
|
|
setenv bootpart 1:1
|
|
init_ufs=ufs init; scsi scan; run args_ufs
|
|
get_kern_ufs=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
|
|
get_fdt_ufs=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
|
|
get_overlay_ufs=
|
|
fdt address ${fdtaddr};
|
|
fdt resize 0x100000;
|
|
for overlay in $name_overlays;
|
|
do;
|
|
load scsi ${bootpart} ${dtboaddr} ${bootdir}/${overlay} &&
|
|
fdt apply ${dtboaddr};
|
|
done;
|
|
|