aboutsummaryrefslogtreecommitdiff
path: root/board/keymile
diff options
context:
space:
mode:
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>2021-06-08 14:20:13 +0000
committerPriyanka Jain <priyanka.jain@nxp.com>2021-06-17 11:46:11 +0530
commitfbb0e15a42e816e4b81b96d5c4d1303584afe1c0 (patch)
treefc5a47dd0b47b3509aa438e1c37be6905750854e /board/keymile
parenta09806498c2dcaf02a8f2fd41ab3bb595fc13ca4 (diff)
downloadu-boot-fbb0e15a42e816e4b81b96d5c4d1303584afe1c0.zip
u-boot-fbb0e15a42e816e4b81b96d5c4d1303584afe1c0.tar.gz
u-boot-fbb0e15a42e816e4b81b96d5c4d1303584afe1c0.tar.bz2
km/scripts: fix saveenv command syntax
This is most probably a typo, and in older u-uboot versions is same as 'saveenv', in the newer uboot versions there is a separate 'save' command that is different from 'saveenv'. Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/keymile')
-rw-r--r--board/keymile/scripts/ramfs-common.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keymile/scripts/ramfs-common.txt b/board/keymile/scripts/ramfs-common.txt
index e590a2b..0a4a9c8 100644
--- a/board/keymile/scripts/ramfs-common.txt
+++ b/board/keymile/scripts/ramfs-common.txt
@@ -3,7 +3,7 @@ boot_bank=-1
altbootcmd=run ${subbootcmds}
bootcmd=run ${subbootcmds}
subbootcmds=save_and_reset_once tftpfdt tftpkernel setrootfsaddr tftpramfs flashargs add_default addpanic addramfs boot
-save_and_reset_once=setenv save_and_reset_once true && save && reset
+save_and_reset_once=setenv save_and_reset_once true && saveenv && reset
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
configure=run set_uimage; run set_tftppath; km_setboardid && run try_import_rootfssize && saveenv && reset
setrootfsaddr=setexpr value ${pnvramaddr} - ${rootfssize} && setenv rootfsaddr 0x${value}