@@ -26,9 +26,10 @@
#include <mach/dma.h>
#include <plat/pxa3xx_nand.h>
-#define CHIP_DELAY_TIMEOUT (2 * HZ/10)
+#define CHIP_DELAY_TIMEOUT (100 * HZ/10)
#define NAND_STOP_DELAY (2 * HZ/50)
#define PAGE_CHUNK_SIZE (2048)
+#define OOB_CHUNK_SIZE (64)
#define BCH_THRESHOLD (8)
#define CMD_POOL_SIZE (5)
#undef PXA3XX_NAND_DEBUG
@@ -298,6 +299,10 @@ static int use_dma = 1;
module_param(use_dma, bool, 0444);
MODULE_PARM_DESC(use_dma, "enable DMA for data transfering to/from NAND HW");
+static int use_polling = 0;
+module_param(use_polling, bool, 0444);
+MODULE_PARM_DESC(use_polling, "Use full polling mode");
+
static int naked_cmd_support = 0;
module_param(naked_cmd_support, bool, 0444);
MODULE_PARM_DESC(naked_cmd_support, "Whether the controller support