Go to the documentation of this file.
17 #ifndef __DRIVERS_MTD_NAND_GPMI_NAND_H
18 #define __DRIVERS_MTD_NAND_GPMI_NAND_H
25 #define GPMI_CLK_MAX 5
126 #define GPMI_ASYNC_EDO_ENABLED (1 << 0)
127 #define GPMI_TIMING_INIT_OK (1 << 1)
214 #define GPMI_DEFAULT_BUSY_TIMEOUT 0x500
284 #define STATUS_GOOD 0x00
285 #define STATUS_ERASED 0xff
286 #define STATUS_UNCORRECTABLE 0xfe
292 #define GPMI_IS_MX23(x) ((x)->pdev->id_entry->driver_data == IS_MX23)
293 #define GPMI_IS_MX28(x) ((x)->pdev->id_entry->driver_data == IS_MX28)
294 #define GPMI_IS_MX6Q(x) ((x)->pdev->id_entry->driver_data == IS_MX6Q)