Nokia RX-51: Revert back onenand defitions

In commit commit 43ede0bca7 ("Kconfig: Migrate MTDIDS_DEFAULT /
MTDPARTS_DEFAULT") were removed definitions for onenand partitions.

Revert them back and enable needed options for onenand support.

Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
Pali Rohár
2020-04-01 00:35:12 +02:00
committed by Lokesh Vutla
parent fca7abf3b9
commit c3cc829d33
2 changed files with 7 additions and 10 deletions

View File

@@ -39,3 +39,10 @@ CONFIG_TWL4030_USB=y
CONFIG_VIDEO=y
CONFIG_CFB_CONSOLE_ANSI=y
# CONFIG_VGA_AS_SINGLE_DEVICE is not set
CONFIG_MTD=y
CONFIG_MTDIDS_DEFAULT="onenand0=onenand"
CONFIG_MTDPARTS_DEFAULT="mtdparts=onenand:128k(bootloader)ro,384k(config),256k(log),2m(kernel),2m(initfs),-(rootfs)"
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_RAW_NAND is not set
CONFIG_CMD_MTD=y
CONFIG_CMD_ONENAND=y