Re: [PATCH V2 9/9] ARM: dts: stm32: add initial support of stm32mp157c eval board

From: Alexandre Torgue
Date: Tue Dec 19 2017 - 04:17:59 EST


Hi,

On 12/18/2017 09:20 PM, Arnd Bergmann wrote:
On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre <ludovic.Barre@xxxxxx> wrote:
=
+
+/ {
+ model = "STMicroelectronics STM32MP157C eval daughter";
+ compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
+
+ chosen {
+ bootargs = "earlyprintk console=ttySTM3,115200 root=/dev/ram";
+ stdout-path = "serial3:115200n8";
+ };

I'd remove the bootargs here and let the boot loader take care of
that, in particular
since all three arguments are rather old-school: earlycon is preferred over
earlyprintk, console= should not be needed if you set stdout-path, and
/dev/ram is obsoleted by initramfs.

In this case I will modify also stm32 mcu devicetree in this way.

Thanks
Alex



Arnd