diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-01-21 07:26:58 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-02-04 16:39:37 +0100 |
commit | 22ff7f4d195b49ca7db5b2a0c3aa2c987ab88c34 (patch) | |
tree | b2c43246c2c3e84aeff23835d3dfee9c96a70439 /include/configs | |
parent | ef2c1d8583ac77b5f9253edede69e99d3453345a (diff) |
microblaze: Enable buffer write for NOR flashes
It speeds up writing a lot.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/microblaze-generic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index aa8d59d6e9..35e5a4acfa 100644 --- 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 |