]> git.sur5r.net Git - u-boot/commitdiff
TQM834x: use buffered writes to accelerate writing to flash
authorWolfgang Denk <wd@denx.de>
Fri, 15 May 2009 07:19:52 +0000 (09:19 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:39:52 +0000 (20:39 +0200)
Also enable display of 'E'mpty sectors in "flinfo" output.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
include/configs/TQM834x.h

index d4b0f9c9300931ad27f3818f2a19e8e7f8eb512f..dbd30ac4b0f95f78747efa25338e74c2924da3ee 100644 (file)
  * FLASH on the Local Bus
  */
 #define CONFIG_SYS_FLASH_CFI                           /* use the Common Flash Interface */
-#define CONFIG_FLASH_CFI_DRIVER                        /* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER                                /* use the CFI driver */
 #undef CONFIG_SYS_FLASH_CHECKSUM
 #define CONFIG_SYS_FLASH_BASE          0x80000000      /* start of FLASH   */
 #define CONFIG_SYS_FLASH_SIZE          8               /* FLASH size in MB */
-
-/* buffered writes in the AMD chip set is not supported yet */
-#undef CONFIG_SYS_FLASH_USE_BUFFER_WRITE
+#define CONFIG_SYS_FLASH_EMPTY_INFO                    /* print 'E' for empty sectors */
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
 
 /*
  * FLASH bank number detection