Skip to content
Snippets Groups Projects
Commit 4048a5c5 authored by Miquel Raynal's avatar Miquel Raynal Committed by Jagan Teki
Browse files

mtd: declare MTD_PARTITIONS symbol in Kconfig


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: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
parent 0fa1fc43
No related branches found
No related tags found
No related merge requests found
menu "MTD Support"
config MTD_PARTITIONS
bool
config MTD
bool "Enable Driver Model for MTD drivers"
depends on DM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment