diff options
author | 402jagan@gmail.com <402jagan@gmail.com> | 2012-07-29 04:26:08 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-18 15:59:55 +0200 |
commit | de1f9ac854471ca84c7aa6d236badd3d18ca10f8 (patch) | |
tree | 2ec4c25becdeb4660faa7dfecd6d7d95c633023a | |
parent | fb24ffc086043530e1026cc9990955095125ea48 (diff) | |
download | u-boot-imx-de1f9ac854471ca84c7aa6d236badd3d18ca10f8.zip u-boot-imx-de1f9ac854471ca84c7aa6d236badd3d18ca10f8.tar.gz u-boot-imx-de1f9ac854471ca84c7aa6d236badd3d18ca10f8.tar.bz2 |
versatile: board configs: Use buffered writes on flash
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>
-rw-r--r-- | include/configs/ca9x4_ct_vxp.h | 2 | ||||
-rw-r--r-- | include/configs/versatile.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/ca9x4_ct_vxp.h b/include/configs/ca9x4_ct_vxp.h index 312fd94..a7cd1d4 100644 --- a/include/configs/ca9x4_ct_vxp.h +++ b/include/configs/ca9x4_ct_vxp.h @@ -163,6 +163,8 @@ /* 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 diff --git a/include/configs/versatile.h b/include/configs/versatile.h index 38f5302..a65c676 100644 --- a/include/configs/versatile.h +++ b/include/configs/versatile.h @@ -230,6 +230,7 @@ #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 */ |