From a2d18bb7d31e7b971386fef505ff0218f3b6e893 Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 11 Feb 2004 21:35:18 +0000 Subject: * 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% :-) --- include/configs/lwmon.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/configs/lwmon.h') diff --git a/include/configs/lwmon.h b/include/configs/lwmon.h index 4917258ba3..d944ed88cd 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 */ -- cgit