]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
versatile: board configs: Use buffered writes on flash
author402jagan@gmail.com <402jagan@gmail.com>
Sun, 29 Jul 2012 04:26:08 +0000 (04:26 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 18 Oct 2012 13:59:55 +0000 (15:59 +0200)
This patch provides a support to use buffered writes on flash
for versatile and vexpress boards.

This will certainly increase the flash writes.

Signed-off-by: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
include/configs/ca9x4_ct_vxp.h
include/configs/versatile.h

index 312fd947beb2ced7449405fe8d878024a18b987e..a7cd1d45ad1051074ddd1fac153a4bac71244bb7 100644 (file)
 /* Room required on the stack for the environment data */
 #define CONFIG_ENV_SIZE                        FLASH_MAX_SECTOR_SIZE
 
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes */
+
 /*
  * Amount of flash used for environment:
  * We don't know which end has the small erase blocks so we use the penultimate
index 38f5302e71899ff36811ca49ee74fa58f413712e..a65c6762b309bc1fefd8ea1204451bef247ba838 100644 (file)
 #define CONFIG_SYS_FLASH_PROTECTION    /* The devices have real protection */
 #define CONFIG_SYS_FLASH_EMPTY_INFO    /* flinfo indicates empty blocks */
 
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes */
 #endif
 
 #endif /* __CONFIG_H */