microblaze: Enable buffer write for NOR flashes
It speeds up writing a lot. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
ef2c1d8583
commit
22ff7f4d19
|
@ -200,7 +200,8 @@
|
||||||
# define CONFIG_SYS_MAX_FLASH_SECT 512
|
# define CONFIG_SYS_MAX_FLASH_SECT 512
|
||||||
/* hardware flash protection */
|
/* hardware flash protection */
|
||||||
# define CONFIG_SYS_FLASH_PROTECTION
|
# define CONFIG_SYS_FLASH_PROTECTION
|
||||||
|
/* use buffered writes (20x faster) */
|
||||||
|
# define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1
|
||||||
# ifdef RAMENV
|
# ifdef RAMENV
|
||||||
# define CONFIG_ENV_IS_NOWHERE 1
|
# define CONFIG_ENV_IS_NOWHERE 1
|
||||||
# define CONFIG_ENV_SIZE 0x1000
|
# define CONFIG_ENV_SIZE 0x1000
|
||||||
|
|
Loading…
Reference in New Issue