]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include: env: phytec: k3_mmc: Rename variables
authorDaniel Schultz <d.schultz@phytec.de>
Fri, 30 Aug 2024 09:09:29 +0000 (02:09 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 10 Sep 2024 19:16:01 +0000 (13:16 -0600)
Add a mmc prefix to 'loadimage' and 'loadfdt' because we need
similar variables for other boot sources. This will prevent
name clashes and allows to implement similar boot logic.

Also switch from loadaddr to kernel_addr_r.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
include/env/phytec/k3_mmc.env

index 3d3595ceb7e8e63ee20abe447a47a986c1f3af4f..2bce4f77d2d124c38d8c04d4553013c539cb0f1a 100644 (file)
 
 mmcargs=setenv bootargs console=${console} earlycon=${earlycon}
        root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw
-loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} Image
-loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
+mmcloadimage=load mmc ${mmcdev}:${mmcpart} ${kernel_addr_r} Image
+mmcloadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
 mmcboot=run mmcargs;
        mmc dev ${mmcdev};
        mmc rescan;
-       run loadimage;
-       run loadfdt;
+       run mmcloadimage;
+       run mmcloadfdt;
        run mmc_apply_overlays;
-       booti ${loadaddr} - ${fdt_addr_r}
+       booti ${kernel_addr_r} - ${fdt_addr_r}