summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-02-18 18:32:22 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-02-18 18:36:08 +0100
commit01549a991e252b2cc8d5d0be4973b5c3a4e4329a (patch)
tree4a541e12e78829c1449138d83cfacd0343f7d283
parent420f8fc8712aae39d21fa7f2107152725a6a24b7 (diff)
downloadptxdist-01549a991e252b2cc8d5d0be4973b5c3a4e4329a.tar.gz
ptxdist-01549a991e252b2cc8d5d0be4973b5c3a4e4329a.tar.xz
tests: don't specify the flash target
let the barebox-env handle this. e.g. update_kernel: update -t kernel -d nand -f $1 Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xtests/flash.kermit2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/flash.kermit b/tests/flash.kermit
index fe211abc7..a903e7c32 100755
--- a/tests/flash.kermit
+++ b/tests/flash.kermit
@@ -4,7 +4,7 @@ define flash {
.tftpfilename := \fbasename(\%1)
if = \m(uboot_version) 2 {
- ptx_uboot_exec 600 "update_\%2 nor \m(tftpfilename)"
+ ptx_uboot_exec 600 "update_\%2 \m(tftpfilename)"
} else {
ptx_uboot_exec 5 "setenv \%2 \m(tftpfilename)"
ptx_uboot_exec 600 "run update_\%2" "Copy to Flash... done"