]> git.dujemihanovic.xyz Git - 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, 26 Nov 2018 09:50:54 +0000 (10:50 +0100)
commit1cefca71d237aae2c5cc2445f7698941443a2cd9
treefeb16cde321046f9650e77ef83e6b3c44fdc4ed5
parentc25e804dd852bc316b6c4dee53c9b2211d247468
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/raw/arasan_nfc.c