summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2011-06-30 11:00:56 -0700
committerKumar Gala <galak@kernel.crashing.org>2011-07-11 13:24:21 -0500
commit80e5c83a7e9d93a17ec14e4bbbbd1bc23e46b720 (patch)
tree8a5eb3a2bf4f282e488752090bb5d5d74b3faa84 /include
parent26002826c7b7e30c19cad28f87a0d8b9275414cf (diff)
downloadu-boot-imx-80e5c83a7e9d93a17ec14e4bbbbd1bc23e46b720.zip
u-boot-imx-80e5c83a7e9d93a17ec14e4bbbbd1bc23e46b720.tar.gz
u-boot-imx-80e5c83a7e9d93a17ec14e4bbbbd1bc23e46b720.tar.bz2
powerpc/corenet_ds: add back buffer write for NOR flash
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/corenet_ds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 2e45b92..52ef06e 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)