All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francesco Dolcini <francesco@dolcini.it>
To: Simon Glass <sjg@chromium.org>,
	u-boot@lists.denx.de,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Francesco Dolcini <francesco.dolcini@toradex.com>,
	Marek Vasut <marex@denx.de>,
	Miquel Raynal <miquel.raynal@bootlin.com>
Subject: [PATCH v1 3/3] colibri-imx6ull: specify MTD partitions on command line
Date: Fri, 13 Jan 2023 19:45:47 +0100	[thread overview]
Message-ID: <20230113184547.487322-4-francesco@dolcini.it> (raw)
In-Reply-To: <20230113184547.487322-1-francesco@dolcini.it>

From: Francesco Dolcini <francesco.dolcini@toradex.com>

Disable fdt_fixup_mtdparts(), instead pass MTD partition on the command
line. This is the preferred method to be used when partitions are not
statically defined into the DTS according the Linux MTD subsystem
maintainer.

Cc: Marek Vasut <marex@denx.de>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/all/20230105123334.7f90c289@xps-13/
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 configs/colibri-imx6ull_defconfig | 1 -
 include/configs/colibri-imx6ull.h | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/configs/colibri-imx6ull_defconfig b/configs/colibri-imx6ull_defconfig
index f2a0d79ccca9..fbab687f5ab8 100644
--- a/configs/colibri-imx6ull_defconfig
+++ b/configs/colibri-imx6ull_defconfig
@@ -104,4 +104,3 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x4000
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT_OVERLAY=y
-CONFIG_FDT_FIXUP_PARTITIONS=y
diff --git a/include/configs/colibri-imx6ull.h b/include/configs/colibri-imx6ull.h
index ba45ee4efd37..561a61ebc03c 100644
--- a/include/configs/colibri-imx6ull.h
+++ b/include/configs/colibri-imx6ull.h
@@ -99,7 +99,7 @@
 		"${board}/flash_blk.img && source ${loadaddr}\0" \
 	"setup=setenv setupargs " \
 		"console=tty1 console=${console}" \
-		",${baudrate}n8 ${memargs} consoleblank=0\0" \
+		",${baudrate}n8 ${memargs} ${mtdparts} consoleblank=0\0" \
 	"setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \
 	"setusbupdate=usb start && setenv interface usb && " \
 		"fatload ${interface} 0:1 ${loadaddr} " \
-- 
2.25.1


  parent reply	other threads:[~2023-01-13 18:46 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-13 18:45 [PATCH v1 0/3] fdt: Fix mtparts fixup Francesco Dolcini
2023-01-13 18:45 ` Francesco Dolcini
2023-01-13 18:45 ` [PATCH v1 1/3] fdt: validate/fix cells count on mtdpart fixup Francesco Dolcini
2023-01-13 18:45   ` Francesco Dolcini
2023-01-15 14:35   ` Marek Vasut
2023-01-15 14:35     ` Marek Vasut
2023-01-16 14:20     ` Francesco Dolcini
2023-01-16 14:20       ` Francesco Dolcini
2023-01-16 17:54       ` Marek Vasut
2023-01-16 17:54         ` Marek Vasut
2023-01-16 18:00         ` Francesco Dolcini
2023-01-16 18:00           ` Francesco Dolcini
2023-01-17  0:59           ` Marek Vasut
2023-01-17  0:59             ` Marek Vasut
2023-01-23  9:56             ` Miquel Raynal
2023-01-23  9:56               ` Miquel Raynal
2023-01-24  8:41               ` Francesco Dolcini
2023-01-24  8:41                 ` Francesco Dolcini
2023-01-24  8:58                 ` Miquel Raynal
2023-01-24  8:58                   ` Miquel Raynal
2023-01-24 10:24                   ` Francesco Dolcini
2023-01-24 10:24                     ` Francesco Dolcini
2023-01-13 18:45 ` [PATCH v1 2/3] colibri-imx7: specify MTD partitions on command line Francesco Dolcini
2023-01-15 14:33   ` Marek Vasut
2023-01-16 13:58     ` Francesco Dolcini
2023-01-23  9:58       ` Miquel Raynal
2023-01-13 18:45 ` Francesco Dolcini [this message]
2023-01-13 19:34 ` [PATCH v1 0/3] fdt: Fix mtparts fixup Tom Rini
2023-01-13 19:34   ` Tom Rini
2023-01-23 10:06   ` Miquel Raynal
2023-01-23 10:06     ` Miquel Raynal
2023-01-23 20:01     ` Tom Rini
2023-01-23 20:01       ` Tom Rini
2023-02-23 10:23       ` Patrick DELAUNAY
2023-02-23 10:23         ` Patrick DELAUNAY
2023-02-23 22:35         ` Tom Rini
2023-02-23 22:35           ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230113184547.487322-4-francesco@dolcini.it \
    --to=francesco@dolcini.it \
    --cc=francesco.dolcini@toradex.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=marex@denx.de \
    --cc=miquel.raynal@bootlin.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.