configs: imx8mn_bsh_smm_s2: add mtdparts to bootargs
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Sun, 26 Jun 2022 10:05:18 +0000 (12:05 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 28 Jun 2022 19:51:56 +0000 (15:51 -0400)
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>
include/configs/imx8mn_bsh_smm_s2.h

index 1eff8c4..d09c2ab 100644 (file)
@@ -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" \