Commit af704eca authored by Anton Protopopov's avatar Anton Protopopov

RT #101966. EA-LPC1788: add CONFIG_NAND_CHIP_DELAY variable

parent 05038925
......@@ -77,7 +77,11 @@ int lpc17xx_gpio_get_state(unsigned char grp, unsigned char pin)
#endif
/* Set this define to 0 to use hardware detection */
#define USE_NAND_DELAY 25
#ifdef CONFIG_NAND_CHIP_DELAY
#define USE_NAND_DELAY CONFIG_NAND_CHIP_DELAY
#else
#define USE_NAND_DELAY 0
#endif
/*
* EA1788 board setup with CS1 as chip select. ALE uses A19, CLE uses A21,
......
......@@ -257,6 +257,8 @@
#define CONFIG_NAND_BBT_BLOCK_BUFFER \
(CONFIG_SYS_RAM_BASE + (16 * 1024 * 1024))
#define CONFIG_NAND_CHIP_DELAY 100
#endif
/* ENVM */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment