board/bsh/imx8mn-bsh-smm-s2: erase the entire NAND chip
If an attempt is made to create a UBI volume and it already exists, the operation fails. Therefore, before requesting the creation of a UBI volume, we erase the entire NAND to ensure that no errors occur. Signed-off-by:Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by:
Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Loading