]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
0007-gpmi-no-bi-swap
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 12:21:56 +0000 (14:21 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 12:21:56 +0000 (14:21 +0200)
===================================================================

drivers/mtd/nand/gpmi-nand/gpmi-nand.c

index 9bd09fc490e51af5acf9b4468666e214212ada00..40cff3a0ba80b53b18f8b9ee62d1650b45296137 100644 (file)
@@ -1495,13 +1495,13 @@ static int __devinit gpmi_set_geometry(struct gpmi_nand_data *this)
 static int gpmi_pre_bbt_scan(struct gpmi_nand_data  *this)
 {
        int ret;
-
+#if 0
        /* Set up swap_block_mark, must be set before the gpmi_set_geometry() */
        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)