aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Binacchi <dario.binacchi@amarulasolutions.com>2022-06-26 12:05:18 +0200
committerTom Rini <trini@konsulko.com>2022-06-28 15:51:56 -0400
commit0c4db621e265c780833af4152a99398aed482f61 (patch)
treee74c9a7ba57c7375f26dd0c5c582d46e5f05b7e4
parentbede82f7507523f23390afe7c373be6c540c5431 (diff)
downloadu-boot-0c4db621e265c780833af4152a99398aed482f61.zip
u-boot-0c4db621e265c780833af4152a99398aed482f61.tar.gz
u-boot-0c4db621e265c780833af4152a99398aed482f61.tar.bz2
configs: imx8mn_bsh_smm_s2: add mtdparts to bootargsWIP/2022-06-28-assorted-fixes
Passing the mtdparts environment variable to the Linux kernel is required to properly mount the UBI rootfs. Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
-rw-r--r--include/configs/imx8mn_bsh_smm_s2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/imx8mn_bsh_smm_s2.h b/include/configs/imx8mn_bsh_smm_s2.h
index 1eff8c4..d09c2ab 100644
--- a/include/configs/imx8mn_bsh_smm_s2.h
+++ b/include/configs/imx8mn_bsh_smm_s2.h
@@ -18,6 +18,7 @@
"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
"nandargs=setenv bootargs " \
"${optargs} " \
+ "mtdparts=${mtdparts} " \
"root=${nandroot} " \
"rootfstype=${nandrootfstype}\0" \
"nandroot=ubi0:root rw ubi.mtd=nandrootfs\0" \