Thread (37 messages) 37 messages, 4 authors, 2018-05-31

[PATCH 2/9] ARM: dts: lager: Drop MTD partitioning from DT

From: marek.vasut@gmail.com (Marek Vasut)
Date: 2018-05-22 21:55:27
Also in: linux-devicetree, linux-renesas-soc

On 05/22/2018 04:32 PM, Geert Uytterhoeven wrote:
On Tue, May 22, 2018 at 2:02 PM, Marek Vasut [off-list ref] wrote:
quoted
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 at 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.
quoted
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Best regards,
Marek Vasut
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help