summaryrefslogtreecommitdiff
path: root/include/configs/sheevaplug.h
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2016-01-17 17:23:42 (GMT)
committerLuka Perkov <luka.perkov@sartura.hr>2016-03-14 22:29:36 (GMT)
commit58a7a3255dcb36fa88523c155a33221003a340d8 (patch)
tree97925ea5df75941897e8fc1f6bd5a890bb4f9854 /include/configs/sheevaplug.h
parentdf61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa (diff)
downloadu-boot-58a7a3255dcb36fa88523c155a33221003a340d8.tar.xz
ARM: sheevaplug: unbreak default environment
Commit 1e3d640316 (ARM: sheevaplug: redefine MTDPARTS) changed the mtdparts part of the default environment, but dropped the trailing zero termination - So the definition of x_bootcmd_kernel becomes part of the x_bootargs variable. Fix it by reintroducing the zero termination. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'include/configs/sheevaplug.h')
-rw-r--r--include/configs/sheevaplug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index ebc3d64..7d773a8 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -65,7 +65,7 @@
#define CONFIG_MTDPARTS \
"mtdparts=orion_nand:512K(uboot)," \
"512K(env),1M(script),6M(kernel)," \
- "12M(ramdisk),4M(spare),-(rootfs)"
+ "12M(ramdisk),4M(spare),-(rootfs)\0"
#define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
"=ttyS0,115200 mtdparts="CONFIG_MTDPARTS \