From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miquel Raynal Date: Wed, 31 Oct 2018 11:43:18 +0100 Subject: [U-Boot] [PATCH 0/3] mtd: Fix partition handling code In-Reply-To: <20181031100736.3067-1-boris.brezillon@bootlin.com> References: <20181031100736.3067-1-boris.brezillon@bootlin.com> Message-ID: <20181031114318.2cb4e4f3@xps13> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hi Boris, Boris Brezillon wrote on Wed, 31 Oct 2018 11:07:33 +0100: > Hello, >=20 > Stefan recently reported a bug when using ubi part on a spi-nand > device and proposed this fix[1]. While his solution while working > I proposed a different approach to kill the CMD_UBI dependency on > CMD_MTDPARTS. This is what patches 1 and 2 are doing. >=20 > Patch 3 is just removing the duplicate Kconfig MTD_PARTITIONS entry. >=20 > Jagan, can you queue those patches to one of your branch and send a > fixes PR, unless Tom prefers to take them directly. >=20 > Regards, >=20 > Boris >=20 > Boris Brezillon (3): > mtd: Use default mtdparts/mtids when not defined in the environment > cmd: ubi: Remove useless call to mtdparts_init() > mtd: Drop duplicate MTD_PARTITIONS Kconfig option Strange, we already had a discussion about it. But indeed this patch is needed. >=20 > cmd/Kconfig | 1 - > cmd/ubi.c | 5 ---- > drivers/mtd/Kconfig | 6 ---- > drivers/mtd/mtd_uboot.c | 62 +++++++++++++++++++++++++++++++++++++++-- > 4 files changed, 60 insertions(+), 14 deletions(-) >=20 Reviewed-by: Miquel Raynal Thanks, Miqu=C3=A8l