powerpc/corenet_ds: add back buffer write for NOR flash
authorYork Sun <yorksun@freescale.com>
Thu, 30 Jun 2011 18:00:56 +0000 (11:00 -0700)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 11 Jul 2011 18:24:21 +0000 (13:24 -0500)
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@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
include/configs/corenet_ds.h

index 2e45b92..52ef06e 100644 (file)
@@ -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)