colibri-imx7: specify MTD partitions on command line
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Mon, 6 Feb 2023 22:48:37 +0000 (23:48 +0100)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sun, 16 Apr 2023 12:18:13 +0000 (14:18 +0200)
commitcba9668e63a2e525b696c6de5720d5d5994f0766
tree1f2d7c247834b6962063505af0a3218c592485bf
parent982e28be1d857e32263c95e367e29f24095be9e0
colibri-imx7: specify MTD partitions on command line

Disable fdt_fixup_mtdparts() and pass MTD partition on the command
line. Dynamically editing the fdt with a static partitions configuration
is not required and there is no advantages compared to using the command
line. This change should prevent boot failures as the one in [0].

Cc: Marek Vasut <marex@denx.de>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/all/Y4dgBTGNWpM6SQXI@francesco-nb.int.toradex.com/
Link: https://lore.kernel.org/all/20230105123334.7f90c289@xps-13/
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/all/20230206224838.75963-3-francesco@dolcini.it/
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
board/toradex/colibri_imx7/colibri_imx7.c
configs/colibri_imx7_defconfig
include/configs/colibri_imx7.h