]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/nand/gpmi-nand/gpmi-nand.h
mtd: gpmi: add device tree support to gpmi-nand
[karo-tx-linux.git] / drivers / mtd / nand / gpmi-nand / gpmi-nand.h
index ec6180d4ff8ffa22314ce923802c606910492166..12fdd7767c1c85c92b23dcbeba94084a3affa921 100644 (file)
@@ -266,8 +266,8 @@ extern int gpmi_read_page(struct gpmi_nand_data *,
 #define STATUS_UNCORRECTABLE   0xfe
 
 /* Use the platform_id to distinguish different Archs. */
-#define IS_MX23                        0x1
-#define IS_MX28                        0x2
+#define IS_MX23                        0x0
+#define IS_MX28                        0x1
 #define GPMI_IS_MX23(x)                ((x)->pdev->id_entry->driver_data == IS_MX23)
 #define GPMI_IS_MX28(x)                ((x)->pdev->id_entry->driver_data == IS_MX28)
 #endif