]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
microblaze: Enable buffer write for NOR flashes
authorMichal Simek <michal.simek@xilinx.com>
Tue, 21 Jan 2014 06:26:58 +0000 (07:26 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 4 Feb 2014 15:39:37 +0000 (16:39 +0100)
It speeds up writing a lot.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/microblaze-generic.h

index aa8d59d6e91d6358648f9ea151c15d0de9d1a5be..35e5a4acfabaf85f154b834592029f06572b51b7 100644 (file)
 # define CONFIG_SYS_MAX_FLASH_SECT     512
 /* hardware flash protection */
 # define CONFIG_SYS_FLASH_PROTECTION
-
+/* use buffered writes (20x faster) */
+# define       CONFIG_SYS_FLASH_USE_BUFFER_WRITE       1
 # ifdef        RAMENV
 #  define CONFIG_ENV_IS_NOWHERE        1
 #  define CONFIG_ENV_SIZE      0x1000