aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-03-22 16:59:22 -0400
committerTom Rini <trini@konsulko.com>2022-04-01 15:03:13 -0400
commitdcc4f9623e27b92a1e0b97326631b0d5841c49cb (patch)
tree8060d94f0be5b2044e0ba6e8ea8a15532178e240 /include
parentdbf6f7c95240bd5fc7f5bbc2b36e275248279f53 (diff)
downloadu-boot-dcc4f9623e27b92a1e0b97326631b0d5841c49cb.zip
u-boot-dcc4f9623e27b92a1e0b97326631b0d5841c49cb.tar.gz
u-boot-dcc4f9623e27b92a1e0b97326631b0d5841c49cb.tar.bz2
arm: smh: Remove smhload command
This command's functionality is now completely implemented by the standard fs load command. Convert the vexpress64 boot command (which is the only user) and remove the implementation. Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/vexpress_aemv8.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/configs/vexpress_aemv8.h b/include/configs/vexpress_aemv8.h
index efffea9..4f0ff23 100644
--- a/include/configs/vexpress_aemv8.h
+++ b/include/configs/vexpress_aemv8.h
@@ -167,20 +167,20 @@
*/
#define BOOTENV_DEV_SMH(devtypeu, devtypel, instance) \
"bootcmd_smh= " \
- "if smhload ${boot_name} ${boot_addr_r}; then" \
+ "if load hostfs - ${boot_addr_r} ${boot_name}; then" \
" setenv bootargs;" \
" abootimg addr ${boot_addr_r};" \
" abootimg get dtb --index=0 fdt_addr_r;" \
" bootm ${boot_addr_r} ${boot_addr_r} ${fdt_addr_r};" \
"else" \
- " if smhload ${kernel_name} ${kernel_addr_r}; then" \
+ " if load hostfs - ${kernel_addr_r} ${kernel_name}; then" \
" setenv fdt_high 0xffffffffffffffff;" \
" setenv initrd_high 0xffffffffffffffff;" \
- " smhload ${fdtfile} ${fdt_addr_r};" \
- " smhload ${ramdisk_name} ${ramdisk_addr_r} ramdisk_end;" \
+ " load hostfs - ${fdt_addr_r} ${fdtfile};" \
+ " load hostfs - ${ramdisk_addr_r} ${ramdisk_name};" \
" fdt addr ${fdt_addr_r};" \
" fdt resize;" \
- " fdt chosen ${ramdisk_addr_r} ${ramdisk_end};" \
+ " fdt chosen ${ramdisk_addr_r} ${filesize};" \
" booti $kernel_addr_r - $fdt_addr_r;" \
" fi;" \
"fi\0"