[U-Boot] [PATCH] powerpc/corenet_ds: add back buffer write for NOR flash

York Sun yorksun at freescale.com
Thu Jun 30 20:00:56 CEST 2011


Enable buffer write for better performance. This platform uses a NOR flash chip
which supports write buffer programming. CFI driver can query the buffer size
and use it to program the flash for best performance.

Signed-off-by: York Sun <yorksun at freescale.com>
---
 include/configs/corenet_ds.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index f649147..28f8785 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -73,6 +73,7 @@
 #else
 #define CONFIG_FLASH_CFI_DRIVER
 #define CONFIG_SYS_FLASH_CFI
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
 #endif
 
 #if defined(CONFIG_SPIFLASH)
-- 
1.7.0.4




More information about the U-Boot mailing list