summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-08-10 15:48:53 +0200
committerStefan Agner <stefan.agner@toradex.com>2015-08-10 15:48:53 +0200
commit6cdae602b3d5bd0b362042cd1b557414edbe7422 (patch)
treeb0994fea40b263a39b14eb7d0cd3ee74d591353b
parent749c850205eeb7393fd16fdad216ce50850b8614 (diff)
imx-common: m4boot: rename Cortex-M4 bootargs
The environment variable was called bootargsm4, which is somewhat incongruent with the boot command name "m4boot". Rename the bootargs environment variable for Cortex-M4 to m4bootargs.
-rw-r--r--arch/arm/imx-common/cmd_m4boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/imx-common/cmd_m4boot.c b/arch/arm/imx-common/cmd_m4boot.c
index e30a5686c2..59beee79ac 100644
--- a/arch/arm/imx-common/cmd_m4boot.c
+++ b/arch/arm/imx-common/cmd_m4boot.c
@@ -91,7 +91,7 @@ static int fdt_chosenm4(void *fdt)
if (nodeoffset < 0)
return nodeoffset;
- str = getenv("bootargsm4");
+ str = getenv("m4bootargs");
if (str) {
err = fdt_setprop(fdt, nodeoffset, "bootargs", str,
strlen(str) + 1);