mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-13 21:36:57 +00:00
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: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
This commit is contained in:
parent
0fa1fc43c8
commit
4048a5c519
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
menu "MTD Support"
|
||||
|
||||
config MTD_PARTITIONS
|
||||
bool
|
||||
|
||||
config MTD
|
||||
bool "Enable Driver Model for MTD drivers"
|
||||
depends on DM
|
||||
|
|
Loading…
Add table
Reference in a new issue