1From ded9afa688184b3240a92c2b8f114c545a09bc3f Mon Sep 17 00:00:00 2001 2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 3Date: Sat, 12 Mar 2016 23:14:41 +0100 4Subject: [PATCH] ARM: stm32f249-disco: don't force init= in /chosen/bootargs 5 6There is no reason to override the kernel's default init= value, as 7this breaks userspace that assumes the kernel default of /init is 8used. Since stm32 is often used with a minimal bootloader 9(afboot-stm32) that doesn't provide any mechanism to override the DTB, 10we need to adjust the kernel command line in the Device Tree source. 11 12Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13--- 14 arch/arm/boot/dts/stm32f429-disco.dts | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) 16 17diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts 18index f0b731d..2bae81c 100644 19--- a/arch/arm/boot/dts/stm32f429-disco.dts 20+++ b/arch/arm/boot/dts/stm32f429-disco.dts 21@@ -53,7 +53,7 @@ 22 compatible = "st,stm32f429i-disco", "st,stm32f429"; 23 24 chosen { 25- bootargs = "root=/dev/ram rdinit=/linuxrc"; 26+ bootargs = "root=/dev/ram"; 27 stdout-path = "serial0:115200n8"; 28 }; 29 30-- 312.6.4 32 33