summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-09-21 08:50:05 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-09-22 11:31:21 +0200
commit62ae0274dfe6af959bbd70a9b30f885a7340a3c7 (patch)
tree9b6c5c1c5dcaa92a5ae6ff7b9cf124ddb6d04dca /arch/arm/boards
parent0ad0baac55f7aa39a9b629abb90973745564afc6 (diff)
downloadbarebox-62ae0274dfe6af959bbd70a9b30f885a7340a3c7.tar.gz
barebox-62ae0274dfe6af959bbd70a9b30f885a7340a3c7.tar.xz
global: Make 'global' command behaviour consistent to 'nv'
The 'nv' command can add/remove multiple variables. Implement that for the 'global' command aswell. Also with the 'nv' command the -r option is for removal of variables, not for "set match". Looking at the users of "global -r" the only user uses the command for removal of variables and not for "Setting multiple variables to the same value" as stated in the command help text. Let "global -r" remove variables aswell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards')
-rw-r--r--arch/arm/boards/at91sam9m10ihd/env/boot/android2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/at91sam9m10ihd/env/boot/android b/arch/arm/boards/at91sam9m10ihd/env/boot/android
index 8492e41f7f..ce5aa32353 100644
--- a/arch/arm/boards/at91sam9m10ihd/env/boot/android
+++ b/arch/arm/boards/at91sam9m10ihd/env/boot/android
@@ -3,4 +3,4 @@
global.bootm.image="/dev/nand0.kernel.bb"
global.linux.bootargs.dyn.root="root=/dev/mtdblock1 rootfstype=jffs2 rw init=/init rootdelay=1"
# clean the mtdparts otherwise android does not boot
-global -r linux.mtdparts.
+global -r "linux.mtdparts.*"