projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2c1d8
)
microblaze: Enable buffer write for NOR flashes
author
Michal Simek
<michal.simek@xilinx.com>
Tue, 21 Jan 2014 06:26:58 +0000
(07:26 +0100)
committer
Michal 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
patch
|
blob
|
history
diff --git
a/include/configs/microblaze-generic.h
b/include/configs/microblaze-generic.h
index aa8d59d6e91d6358648f9ea151c15d0de9d1a5be..35e5a4acfabaf85f154b834592029f06572b51b7 100644
(file)
--- a/
include/configs/microblaze-generic.h
+++ b/
include/configs/microblaze-generic.h
@@
-200,7
+200,8
@@
# 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