From: Stefan Roese <sr@denx.de>
Date: Thu, 7 Sep 2006 10:23:02 +0000 (+0200)
Subject: Change Yellowstone to use CFI write buffer
X-Git-Tag: v2025.01-rc5-pxa1908~22945^2~21
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/git-logo.png?a=commitdiff_plain;h=8cacfb85a89f9136d685697eb2c97dae5bddfe8d;p=u-boot.git

Change Yellowstone to use CFI write buffer
Patch by Stefan Roese, 07 Aug 2006
---

diff --git a/CHANGELOG b/CHANGELOG
index 576cd7fb86..f71c864228 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Change Yellowstone to use CFI write buffer
+  Patch by Stefan Roese, 07 Aug 2006
+
 * Add support for AMCC Sequoia PPC440EPx eval board
   - Add support for PPC440EPx & PPC440GRx
   - Add support for PPC440EP(x)/GR(x) NAND controller
diff --git a/include/configs/yellowstone.h b/include/configs/yellowstone.h
index bcafd8ba8b..ba27f37f6e 100644
--- a/include/configs/yellowstone.h
+++ b/include/configs/yellowstone.h
@@ -110,6 +110,8 @@
 #define CFG_FLASH_ERASE_TOUT	120000	/* Timeout for Flash Erase (in ms)	*/
 #define CFG_FLASH_WRITE_TOUT	500	/* Timeout for Flash Write (in ms)	*/
 
+#define CFG_FLASH_USE_BUFFER_WRITE 1	/* use buffered writes (20x faster)	*/
+
 #define CFG_FLASH_EMPTY_INFO		/* print 'E' for empty sector on flinfo */
 
 #ifdef CFG_ENV_IS_IN_FLASH