mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 09:00:45 +09:00
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>
This commit is contained in:
parent
fb24ffc086
commit
de1f9ac854
@ -163,6 +163,8 @@
|
|||||||
/* Room required on the stack for the environment data */
|
/* Room required on the stack for the environment data */
|
||||||
#define CONFIG_ENV_SIZE FLASH_MAX_SECTOR_SIZE
|
#define CONFIG_ENV_SIZE FLASH_MAX_SECTOR_SIZE
|
||||||
|
|
||||||
|
#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Amount of flash used for environment:
|
* Amount of flash used for environment:
|
||||||
* We don't know which end has the small erase blocks so we use the penultimate
|
* We don't know which end has the small erase blocks so we use the penultimate
|
||||||
|
@ -230,6 +230,7 @@
|
|||||||
#define CONFIG_SYS_FLASH_PROTECTION /* The devices have real protection */
|
#define CONFIG_SYS_FLASH_PROTECTION /* The devices have real protection */
|
||||||
#define CONFIG_SYS_FLASH_EMPTY_INFO /* flinfo indicates empty blocks */
|
#define CONFIG_SYS_FLASH_EMPTY_INFO /* flinfo indicates empty blocks */
|
||||||
|
|
||||||
|
#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user