* [U-Boot] [PATCH 0/1] versatile/vexpress: board configs: Use buffered writes on Flash
@ 2012-07-29 14:26 Jagannadha Sutradharudu Teki
2012-07-29 14:26 ` [U-Boot] [PATCH 1/1] versatile: board configs: Use buffered writes on flash Jagannadha Sutradharudu Teki
0 siblings, 1 reply; 3+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2012-07-29 14:26 UTC (permalink / raw)
To: u-boot
Current writes on nor flash uses normal flash write calls
due to this writing to NOR is very slow,
so I was enabled buffered writes and tested on QEMU.
Regards,
Jagan.
Jagannadha Sutradharudu Teki (2):
image/FIT: Add ramdisk load, entry address and OS tag inclusion
versatile: board configs: Use buffered writes on flash
common/image.c | 7 ++++---
include/configs/ca9x4_ct_vxp.h | 2 ++
include/configs/versatile.h | 1 +
3 files changed, 7 insertions(+), 3 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 1/1] versatile: board configs: Use buffered writes on flash
2012-07-29 14:26 [U-Boot] [PATCH 0/1] versatile/vexpress: board configs: Use buffered writes on Flash Jagannadha Sutradharudu Teki
@ 2012-07-29 14:26 ` Jagannadha Sutradharudu Teki
2012-10-18 18:36 ` Albert ARIBAUD
0 siblings, 1 reply; 3+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2012-07-29 14:26 UTC (permalink / raw)
To: u-boot
This patch provides a support to use buffered writes on flash
for versatile and vexpress boards.
This will certainly increase the flash writes.
Signed-off-by: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
---
include/configs/ca9x4_ct_vxp.h | 2 ++
include/configs/versatile.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/ca9x4_ct_vxp.h b/include/configs/ca9x4_ct_vxp.h
index 14b8146..c67be37 100644
--- a/include/configs/ca9x4_ct_vxp.h
+++ b/include/configs/ca9x4_ct_vxp.h
@@ -170,6 +170,8 @@
/* Room required on the stack for the environment data */
#define CONFIG_ENV_SIZE FLASH_MAX_SECTOR_SIZE
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes */
+
/*
* Amount of flash used for environment:
* We don't know which end has the small erase blocks so we use the penultimate
diff --git a/include/configs/versatile.h b/include/configs/versatile.h
index ff23a92..32ffd56 100644
--- a/include/configs/versatile.h
+++ b/include/configs/versatile.h
@@ -241,6 +241,7 @@
#define CONFIG_SYS_FLASH_PROTECTION /* The devices have real protection */
#define CONFIG_SYS_FLASH_EMPTY_INFO /* flinfo indicates empty blocks */
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes */
#endif
#endif /* __CONFIG_H */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 1/1] versatile: board configs: Use buffered writes on flash
2012-07-29 14:26 ` [U-Boot] [PATCH 1/1] versatile: board configs: Use buffered writes on flash Jagannadha Sutradharudu Teki
@ 2012-10-18 18:36 ` Albert ARIBAUD
0 siblings, 0 replies; 3+ messages in thread
From: Albert ARIBAUD @ 2012-10-18 18:36 UTC (permalink / raw)
To: u-boot
Hi Jagannadha,
On Sun, 29 Jul 2012 19:56:08 +0530, Jagannadha Sutradharudu Teki
<402jagan@gmail.com> wrote:
> This patch provides a support to use buffered writes on flash
> for versatile and vexpress boards.
>
> This will certainly increase the flash writes.
>
> Signed-off-by: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
> ---
> include/configs/ca9x4_ct_vxp.h | 2 ++
> include/configs/versatile.h | 1 +
> 2 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/ca9x4_ct_vxp.h b/include/configs/ca9x4_ct_vxp.h
> index 14b8146..c67be37 100644
> --- a/include/configs/ca9x4_ct_vxp.h
> +++ b/include/configs/ca9x4_ct_vxp.h
> @@ -170,6 +170,8 @@
> /* Room required on the stack for the environment data */
> #define CONFIG_ENV_SIZE FLASH_MAX_SECTOR_SIZE
>
> +#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes */
> +
> /*
> * Amount of flash used for environment:
> * We don't know which end has the small erase blocks so we use the penultimate
> diff --git a/include/configs/versatile.h b/include/configs/versatile.h
> index ff23a92..32ffd56 100644
> --- a/include/configs/versatile.h
> +++ b/include/configs/versatile.h
> @@ -241,6 +241,7 @@
> #define CONFIG_SYS_FLASH_PROTECTION /* The devices have real protection */
> #define CONFIG_SYS_FLASH_EMPTY_INFO /* flinfo indicates empty blocks */
>
> +#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes */
> #endif
>
> #endif /* __CONFIG_H */
Applied to u-boot-arm/master, thanks!
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-18 18:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-29 14:26 [U-Boot] [PATCH 0/1] versatile/vexpress: board configs: Use buffered writes on Flash Jagannadha Sutradharudu Teki
2012-07-29 14:26 ` [U-Boot] [PATCH 1/1] versatile: board configs: Use buffered writes on flash Jagannadha Sutradharudu Teki
2012-10-18 18:36 ` Albert ARIBAUD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox