summaryrefslogtreecommitdiff
path: root/board/keymile/scripts/ramfs-common.txt
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-02-18 09:57:06 -0500
committerTom Rini <trini@ti.com>2013-02-18 09:57:06 -0500
commit1671ba7c0d5dd59c84cb3ae5dc586242d65cbf5f (patch)
tree65493c2c97adc37be6a60fc0a2fb81d214257fb1 /board/keymile/scripts/ramfs-common.txt
parentea6bd08b7717bf0d3f69ad9f016bf3b03b3eaf16 (diff)
parent411190cb16b63e39345a608b68b3d1be5168117a (diff)
downloadu-boot-imx-1671ba7c0d5dd59c84cb3ae5dc586242d65cbf5f.zip
u-boot-imx-1671ba7c0d5dd59c84cb3ae5dc586242d65cbf5f.tar.gz
u-boot-imx-1671ba7c0d5dd59c84cb3ae5dc586242d65cbf5f.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Diffstat (limited to 'board/keymile/scripts/ramfs-common.txt')
-rw-r--r--board/keymile/scripts/ramfs-common.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/keymile/scripts/ramfs-common.txt b/board/keymile/scripts/ramfs-common.txt
index c1b45ab..8a8d287 100644
--- a/board/keymile/scripts/ramfs-common.txt
+++ b/board/keymile/scripts/ramfs-common.txt
@@ -4,8 +4,9 @@ altbootcmd=run ${subbootcmds}
bootcmd=run ${subbootcmds}
subbootcmds=tftpfdt tftpkernel setrootfsaddr tftpramfs flashargs add_default addpanic addramfs boot
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
-configure=km_setboardid && saveenv && reset
+configure=run set_uimage; km_setboardid && saveenv && reset
rootfsfile=${hostname}/rootfsImage
setrootfsaddr=setexpr value ${pnvramaddr} - ${rootfssize} && setenv rootfsaddr 0x${value}
-tftpkernel=tftpboot ${load_addr_r} ${hostname}/uImage
+tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage}
tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage
+set_uimage=printenv uimage || setenv uimage uImage