]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mtd: gpmi: disable BB marker swapping
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 5 Nov 2013 21:52:33 +0000 (22:52 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 5 Nov 2013 21:52:33 +0000 (22:52 +0100)
drivers/mtd/nand/gpmi-nand/gpmi-nand.c

index 6807d7cfe49c1ce7f5f7a68c305e46bdd2f283c4..b9ce6c56365fa1a763df5c5d10c13a071a9dce0b 100644 (file)
@@ -1581,11 +1581,12 @@ static int gpmi_pre_bbt_scan(struct gpmi_nand_data  *this)
        int ret;
 
        /* Set up swap_block_mark, must be set before the gpmi_set_geometry() */
+#if 0
        if (GPMI_IS_MX23(this))
                this->swap_block_mark = false;
        else
                this->swap_block_mark = true;
-
+#endif
        /* Set up the medium geometry */
        ret = gpmi_set_geometry(this);
        if (ret)