1 From c8f8f33c2f0460a34c9545b01a7972a7ed2df0e9 Mon Sep 17 00:00:00 2001
2 From: Christophe Priouzeau <christophe.priouzeau@st.com>
3 Date: Mon, 29 May 2017 13:38:16 +0200
4 Subject: [PATCH] ARM: stm32f249-disco: don't force init= in /chosen/bootargs
6 There is no reason to override the kernel's default init= value, as
7 this breaks userspace that assumes the kernel default of /init is
8 used. Since stm32 is often used with a minimal bootloader
9 (afboot-stm32) that doesn't provide any mechanism to override the DTB,
10 we need to adjust the kernel command line in the Device Tree source.
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
15 arch/arm/boot/dts/stm32f469-disco.dts | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
18 diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts
19 index 0dd56ef..93ee1b2 100644
20 --- a/arch/arm/boot/dts/stm32f469-disco.dts
21 +++ b/arch/arm/boot/dts/stm32f469-disco.dts
23 compatible = "st,stm32f469i-disco", "st,stm32f469";
26 - bootargs = "root=/dev/ram rdinit=/linuxrc";
27 + bootargs = "root=/dev/ram";
28 stdout-path = "serial0:115200n8";