summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-05-18 10:55:32 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-05-18 10:55:32 +0200
commit06ee8db6422e02337242e43b8573359443db59ea (patch)
tree127df2e48f8b0b323e0958b603fb224491607dd9
parent0de8d62ff5cb24d72206d9bee5ad42d517ee530e (diff)
Fix setsdupdate by adding missing 'usb start' command. While at it also add USB start to setethupdate as doing it twice won't hurt (e.g. it returns immediately only 'usb reset' does a full rescan).
-rw-r--r--include/configs/colibri_t20.h2
-rw-r--r--include/configs/colibri_t30.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
index aa90a2f71f2..0ec5fc3d5de 100644
--- a/include/configs/colibri_t20.h
+++ b/include/configs/colibri_t20.h
@@ -193,7 +193,7 @@
"mtdparts=" MTDPARTS_DEFAULT "\0" \
NFS_BOOTCMD \
SD_BOOTCMD \
- "setethupdate=tftpboot ${kernel_addr_r} flash_eth.img\0" \
+ "setethupdate=usb start && tftpboot ${kernel_addr_r} flash_eth.img\0" \
"setsdupdate=setenv interface mmc; setenv drive 0; mmc rescan; " \
"load ${interface} ${drive}:1 ${kernel_addr_r} " \
"flash_blk.img\0" \
diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h
index b1e4187a709..9b060fef70d 100644
--- a/include/configs/colibri_t30.h
+++ b/include/configs/colibri_t30.h
@@ -149,14 +149,14 @@
"fdt_board=eval-v3\0" \
NFS_BOOTCMD \
SD_BOOTCMD \
- "setethupdate=tftpboot ${kernel_addr_r} flash_eth.img\0" \
+ "setethupdate=usb start && tftpboot ${kernel_addr_r} flash_eth.img\0" \
"setsdupdate=setenv interface mmc; setenv drive 1; mmc rescan; load " \
"${interface} ${drive}:1 ${kernel_addr_r} flash_blk.img\0" \
"setup=setenv setupargs asix_mac=${ethaddr} " \
"consoleblank=0 no_console_suspend=1 console=tty1 " \
"console=${console},${baudrate}n8 debug_uartport=lsport,0 " \
"vmalloc=128M mem=1012M@2048M fbmem=12M@3060M\0" \
- "setusbupdate=setenv interface usb; setenv drive 0; " \
+ "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \
"load ${interface} ${drive}:1 ${kernel_addr_r} " \
"flash_blk.img\0" \
"setupdate=run setsdupdate || run setusbupdate || run setethupdate;" \