summaryrefslogtreecommitdiffstats
path: root/fs/jffs2
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2014-03-28 11:35:06 +0100
committerBrian Norris <computersforpeace@gmail.com>2014-07-27 22:06:31 -0700
commit2a500afe1e0e84c7a126df693dbd01353756dcfa (patch)
tree278caaa0a91938c570c217f0b64d954724b1747d /fs/jffs2
parentd8c0372baadb29e60668c2bddfcf39294f3d4581 (diff)
downloadop-kernel-dev-2a500afe1e0e84c7a126df693dbd01353756dcfa.zip
op-kernel-dev-2a500afe1e0e84c7a126df693dbd01353756dcfa.tar.gz
mtd: gpmi: make blockmark swapping optional
With a flash-based BBT there is no reason to move the Factory Bad Block Marker from the data area buffer (to where it is mapped by the GPMI NAND controller) to the OOB buffer. Thus, make this feature configurable via DT. This is required for the Ka-Ro electronics platforms. In the original code 'this->swap_block_mark' was synonymous with '!GPMI_IS_MX23()', so use the latter at the relevant places. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Acked-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud