summaryrefslogtreecommitdiffstats
path: root/defaultenv
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-10-08 16:29:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-10-09 11:35:43 +0200
commitfd552936d658c555a6233d219e4449e0c9fb153b (patch)
tree142ac2dcef20983a49ec891acac4c0e4b122e670 /defaultenv
parenta0746e71c29ecb83377b1f1d47c3a5648211fffc (diff)
downloadbarebox-fd552936d658c555a6233d219e4449e0c9fb153b.tar.gz
barebox-fd552936d658c555a6233d219e4449e0c9fb153b.tar.xz
defaultenv: add bootm_opt var to allow the board to pass parameter to bootm
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv')
-rw-r--r--defaultenv/bin/boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
index 652ae0c2b..6761d8451 100644
--- a/defaultenv/bin/boot
+++ b/defaultenv/bin/boot
@@ -115,7 +115,7 @@ fi
echo "booting kernel of type $kernelimage_type from $kdev"
if [ x$kernelimage_type = xuimage ]; then
- bootm $kdev
+ bootm $bootm_opt $kdev
elif [ x$kernelimage_type = xzimage ]; then
bootz $kdev
elif [ x$kernelimage_type = xraw ]; then