]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mtd: nand: Arasan: Add subpage configuration support
authorMartin Lund <malu@gomspace.com>
Tue, 30 Oct 2018 13:16:19 +0000 (14:16 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 19 Nov 2018 11:52:30 +0000 (12:52 +0100)
commit6aa3c6ba40be3a75f4888bf40c28e5ba7ebad64e
tree285da6f88a76e51c97a498f447436806d1f0500d
parentd8fc4b3b70bccf1577dab69f6ddfd4ada9a93bac
mtd: nand: Arasan: Add subpage configuration support

Add support for disabling subpage write support via
CONFIG_SYS_NAND_NO_SUBPAGE_WRITE.

Currently the Linux Arasan driver does not support subpage writes and in
case of running UBI and accessing the same UBI volume from both U-Boot
and Linux it is required to have the same subpage write configuration
else the location of the UBI headers (EC + VID) will be misaligned
(subpage vs page) and incompatible. Hence the need for disabling
subpage write support in the U-Boot Arasan NAND driver.

Signed-off-by: Martin Lund <malu@gomspace.com>
Acked-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/nand/arasan_nfc.c