ar71xx: Fix UBIFS work on Mikrotik RB95x devices
authorSergey Sergeev <adron@yapic.net>
Wed, 31 May 2017 08:00:01 +0000 (11:00 +0300)
committerFelix Fietkau <nbd@nbd.name>
Wed, 5 Jul 2017 10:48:58 +0000 (12:48 +0200)
commitd71ffb9639564b91b92355fe35a72e0ed7cd2298
tree3ba7958c015fa6c6128e51b2e9e647323ba12af7
parent52617669c2467ba9964a153827aad1acad99f890
ar71xx: Fix UBIFS work on Mikrotik RB95x devices

If nand chip has no NAND_NO_SUBPAGE_WRITE flag on its options
ubifs can't use it mtd devices and the kernel crashes with error:
__nand_correct_data: uncorrectable ECC error

Signed-off-by: Sergey Sergeev <adron@yapic.net>
target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c