From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH 2/9] ARM: dts: lager: Drop MTD partitioning from DT Date: Tue, 22 May 2018 23:55:27 +0200 Message-ID: <7f72e09a-3c02-7985-2c42-14e4034ff77e@gmail.com> References: <20180522120257.13232-1-marek.vasut+renesas@gmail.com> <20180522120257.13232-2-marek.vasut+renesas@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Geert Uytterhoeven Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Geert Uytterhoeven , Wolfram Sang , Linux-Renesas , Laurent Pinchart , Simon Horman , Linux ARM , Marek Vasut List-Id: devicetree@vger.kernel.org On 05/22/2018 04:32 PM, Geert Uytterhoeven wrote: > On Tue, May 22, 2018 at 2:02 PM, Marek Vasut wrote: >> Drop the MTD partitioning from DT, since it does not describe HW >> and to give way to a more flexible kernel command line partition >> passing. >> >> To retain the original partitioning, assure you have enabled >> CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the >> following to your kernel command line: >> >> mtdparts=spi0.0:256k@0(loader),4096k(user),-(flash) > > I guess s/4096k/4m/ works, too? Yes, but all the other boards use nnn k, so let's stick with k . I don't want one value to stick out like a sore thumb. >> Signed-off-by: Marek Vasut > > Reviewed-by: Geert Uytterhoeven > > Gr{oetje,eeting}s, > > Geert > -- Best regards, Marek Vasut