summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-07-19 14:13:02 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-07-19 14:13:02 +0200
commit5a3dfef73240cd6b5044184e521351afdb20838f (patch)
tree877ccbf512d2cfae5ea8b9499651d62432563752 /include
parent0de7fa59391fa529bec4ef11647f063f67fd9786 (diff)
downloadu-boot-imx-5a3dfef73240cd6b5044184e521351afdb20838f.zip
u-boot-imx-5a3dfef73240cd6b5044184e521351afdb20838f.tar.gz
u-boot-imx-5a3dfef73240cd6b5044184e521351afdb20838f.tar.bz2
Fix some bugs in TRAB board flash driver.
- increase CFG_FLASH_ERASE_TOUT from 2 to 15 seconds - use CFG_FLASH_WRITE_TOUT for programming instead of CFG_FLASH_ERASE_TOUT - remove "Unlock Bypass" mode, because macronix flashes do not support this mode officially - fix flash reset command from 0x00FF to 0x00F0. 0x00FF is only specified for Intel compatible flashes, not for AMD compatible. Patch by Martin Krause, 15 Feb 2006
Diffstat (limited to 'include')
-rw-r--r--include/configs/trab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/trab.h b/include/configs/trab.h
index 8f71acf..a2dc8e7 100644
--- a/include/configs/trab.h
+++ b/include/configs/trab.h
@@ -402,7 +402,7 @@
#endif
/* timeout values are in ticks */
-#define CFG_FLASH_ERASE_TOUT (2*CFG_HZ) /* Timeout for Flash Erase */
+#define CFG_FLASH_ERASE_TOUT (15*CFG_HZ) /* Timeout for Flash Erase */
#define CFG_FLASH_WRITE_TOUT (2*CFG_HZ) /* Timeout for Flash Write */
#define CFG_ENV_IS_IN_FLASH 1