Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932148AbcDYLeU (ORCPT ); Mon, 25 Apr 2016 07:34:20 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:65354 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754364AbcDYLeS (ORCPT ); Mon, 25 Apr 2016 07:34:18 -0400 From: Arnd Bergmann To: Vladimir Murzin Cc: Matthias Brugger , sudeep.holla@arm.com, lorenzo.pieralisi@arm.com, linux@arm.linux.org.uk, liviu.dudau@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/5] ARM: dts: introduce MPS2 AN385/AN386 Date: Mon, 25 Apr 2016 13:32:39 +0200 Message-ID: <5670114.66Ur0mq4Xc@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <571DEE47.3090208@arm.com> References: <1461574157-23580-1-git-send-email-vladimir.murzin@arm.com> <571DE21A.5010502@suse.com> <571DEE47.3090208@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:PSZqHUDU/fctyzYwR8rZRH0ScmftdUxQr2TUtPFsuXwtOAFXA+G HeJ4mjaWYUUYszpjn/nkUSd9S8HA9chI1+JKyNga5BBBriuGwjonUgq7BZvT+XueMcbnje7 vziidqLXj5/XnmdtyDurQJD9Pbz8x/SAlVYmaEHkRaNINtT1ysxPYOQY/MnXbtEZzzkS9Cg L00lXBKkT7xCyLADuFtHQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:PM5yHZ7z6u0=:uWT2D+oHfihohdMZID+EsV 4nOygEXZgl3S+aROFm5d7y+K+SgCfE2mLJmRICM1PhgI+UcPXyIdsA2PdsFOihGVwziD4z5Xp C8FkInGQe8L1Kiq1JOQjLcd2DR3ndQTzOBQo24XQ7ltsFnPInmr7zBEQFUHV50WKMXmXgvtR7 uPv42frv0nRIt1jHrEhUaQPB4uK4b/t2noQsOM/+O0gbU29wzQOid+8YnpJM1+Izb6FPl76cD V7FjPwu6QpZ8Gw4AjnJDcOk+DoSUxBZCaAnQJhU5+AZW3S7cL5gsSNTndzgl7Qk6LRvqDExKl ao3m2L8n/DzllqMyoBPFhyE6tau2nlxzQ9H12fuNdonUFouhjUvjV7he4/I87j9J8mE+H1cNK 0iK/0nQSAB0Qo+16gOMVNDDbRWAurFRsqdcK1caxX11JM36v2L4/hYKUv5FRaSwwOe9PSX0mq W0wa1c09yqcrn3Q919HACphbkDrkvfKQzEcitYufm75Wy8puSIgOUNDtPILyTfmwbS8U5T/N6 P7osnKhYTSod9tPkcYdDe0HmhITjxNUyksjpwES0DiyEizBjmShCNSiMc77Oewoblt8AN8lTk UpZek2iMeUcab72FHjMa9BznObQifxitCrlonSKf5bRw+2ZaCjdB/V6xLtIyXEMbHhH6flleX KhazSlFAzpxTf2bIFnOR1+RQGJ7UKDjfAeS3lXJ6yllgKEbGnT8VgSm5uv0nss3EtDssUnQW/ Fs0k0DiN5iheokhX Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 948 Lines: 30 On Monday 25 April 2016 11:15:35 Vladimir Murzin wrote: > >> + > >> +#include "mps2.dtsi" > >> + > >> +/ { > >> + model = "ARM MPS2 Application Note 385/386"; > >> + compatible = "arm,mps2"; > >> + > >> + aliases { > >> + serial0 = &uart0; > >> + }; > >> + > >> + chosen { > >> + bootargs = "rdinit=/sbin/init earlycon"; > > > > The rootfs should be independent from the board. > > In my opinion, this type of bootargs should not be part of the DTS. > > I have no strong opinion on this, but quick grep shows plenty places > where the same happens, and even [1] has rootfs specific option as an > example. So if there is no strong call to remove rdinit from bootargs, > I'd prefer to keep it as it makes testing easier for me. > > [1] Documentation/devicetree/booting-without-of.txt > I think "rdinit=/sbin/init" is redundant, that is what we try running anyway, so I don't see any downside in removing it. Arnd