]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/keymile/scripts/develop-common.txt
arm/km: define fdt_high env variable and allow backwards compatibility
[karo-tx-uboot.git] / board / keymile / scripts / develop-common.txt
index f49b26a23308f2656234c4ef1153fb4befe3290f..a80812a5d044fd1ff318bc7c8ec0039542b6f882 100644 (file)
@@ -3,7 +3,7 @@ bootcmd=run ${subbootcmds}
 configure=run set_uimage; km_setboardid && saveenv && reset
 subbootcmds=tftpfdt tftpkernel nfsargs add_default boot
 nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${toolchain}/${arch}
-tftpfdt=tftpboot ${fdt_addr_r} ${hostname}/${hostname}.dtb
+tftpfdt=if run set_fdthigh || test ${arch} != arm; then tftpboot ${fdt_addr_r} ${hostname}/${hostname}.dtb; else true; fi
 tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage}
 toolchain=/opt/eldk
 rootfssize=0