summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-02-11 21:35:18 +0000
committerwdenk <wdenk>2004-02-11 21:35:18 +0000
commita2d18bb7d31e7b971386fef505ff0218f3b6e893 (patch)
tree3230d5f1333740d174aae9901acde345be1a333f /include
parentcd37d9e6e5e9692d8efafc155df23fa142b63d03 (diff)
downloadu-boot-imx-a2d18bb7d31e7b971386fef505ff0218f3b6e893.zip
u-boot-imx-a2d18bb7d31e7b971386fef505ff0218f3b6e893.tar.gz
u-boot-imx-a2d18bb7d31e7b971386fef505ff0218f3b6e893.tar.bz2
* Make sure to use a bus clock divider of 2 only when running TQM8xxM
modules at CPU clock frequencies above 66 MHz. * Optimize flash programming speed for LWMON (by another 100% :-)
Diffstat (limited to 'include')
-rw-r--r--include/configs/lwmon.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/lwmon.h b/include/configs/lwmon.h
index 4917258..d944ed8 100644
--- a/include/configs/lwmon.h
+++ b/include/configs/lwmon.h
@@ -284,7 +284,11 @@
#define CFG_FLASH_WRITE_TOUT 600 /* Timeout for Flash Write (in ms) */
#define CFG_FLASH_USE_BUFFER_WRITE
#define CFG_FLASH_BUFFER_WRITE_TOUT 2048 /* Timeout for Flash Buffer Write (in ms) */
-#define CFG_FLASH_BUFFER_SIZE 32 /* Buffer size */
+/* Buffer size.
+ We have two flash devices connected in parallel.
+ Each device incorporates a Write Buffer of 32 bytes.
+ */
+#define CFG_FLASH_BUFFER_SIZE (2*32)
#if 1
/* Put environment in flash which is much faster to boot */