[U-Boot] [PATCH v6 20/31] mtd: declare MTD_PARTITIONS symbol in Kconfig

Jagan Teki jagan at amarulasolutions.com
Mon Sep 3 07:47:13 UTC 2018


On Thu, Aug 16, 2018 at 9:00 PM, Miquel Raynal
<miquel.raynal at bootlin.com> wrote:
> UBI selects MTD_PARTITIONS which is the symbol to compile
> drivers/mtd/mtdpart.c. Unfortunately, the symbol was not defined in
> Kconfig and this worked only with board files defining it. Fix this by
> adding a boolean in Kconfig so boards defined by defconfig files only
> will work as expected.
>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
>  drivers/mtd/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
> index 9341d518f3..d98457e223 100644
> --- a/drivers/mtd/Kconfig
> +++ b/drivers/mtd/Kconfig
> @@ -1,5 +1,8 @@
>  menu "MTD Support"
>
> +config MTD_PARTITIONS
> +       bool
> +

I think I can drop this patch, along with
"mtd: declare MTD_PARTITIONS symbol in Kconfig"


More information about the U-Boot mailing list