From: Michal Simek Date: Tue, 21 Jan 2014 06:26:58 +0000 (+0100) Subject: microblaze: Enable buffer write for NOR flashes X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=500f5ff433884dd5b40974fb262e0d5449dab35b;p=thirdparty%2Fu-boot.git microblaze: Enable buffer write for NOR flashes It speeds up writing a lot. Signed-off-by: Michal Simek --- diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 91af2b8325d..2ea541fbf07 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -185,6 +185,8 @@ #define CONFIG_ENV_ADDR XILINX_FLASH_START #define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE + /* use buffered writes (20x faster) */ + #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1 #else /* No flash memory at all */ /* ENV in RAM */ #define RAMENV