* [U-Boot] [PATCH 1/3] xpedite5200, 5370: Use buffered NOR flash writes
@ 2009-07-20 0:17 ptyser at xes-inc.com
2009-07-20 0:17 ` [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo ptyser at xes-inc.com
2009-07-21 14:16 ` [U-Boot] [PATCH 1/3] xpedite5200, 5370: Use buffered NOR flash writes Kumar Gala
0 siblings, 2 replies; 7+ messages in thread
From: ptyser at xes-inc.com @ 2009-07-20 0:17 UTC (permalink / raw)
To: u-boot
From: Peter Tyser <ptyser@xes-inc.com>
Buffered writes are possible on the XPedite5200 and XPedite5370 and greatly
improve NOR flash write speeds
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
---
I miscalculated the merge window close time... I hope to slip these last 3
trivial changes in the upcoming release if possible.
Thanks,
Peter
include/configs/XPEDITE5200.h | 1 +
include/configs/XPEDITE5370.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/XPEDITE5200.h b/include/configs/XPEDITE5200.h
index 89ab692..617f514 100644
--- a/include/configs/XPEDITE5200.h
+++ b/include/configs/XPEDITE5200.h
@@ -129,6 +129,7 @@
#define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
#define CONFIG_FLASH_CFI_DRIVER
#define CONFIG_SYS_FLASH_CFI
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
#define CONFIG_SYS_FLASH_AUTOPROTECT_LIST { {0xfff40000, 0xc0000}, \
{0xfbf40000, 0xc0000} }
#define CONFIG_SYS_MONITOR_BASE TEXT_BASE /* start of monitor */
diff --git a/include/configs/XPEDITE5370.h b/include/configs/XPEDITE5370.h
index 536e063..d00448b 100644
--- a/include/configs/XPEDITE5370.h
+++ b/include/configs/XPEDITE5370.h
@@ -137,6 +137,7 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
#define CONFIG_FLASH_CFI_DRIVER
#define CONFIG_SYS_FLASH_CFI
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
#define CONFIG_SYS_FLASH_AUTOPROTECT_LIST { {0xfff40000, 0xc0000}, \
{0xf7f40000, 0xc0000} }
#define CONFIG_SYS_MONITOR_BASE TEXT_BASE /* start of monitor */
--
1.6.2-rc2.GIT
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo
2009-07-20 0:17 [U-Boot] [PATCH 1/3] xpedite5200, 5370: Use buffered NOR flash writes ptyser at xes-inc.com
@ 2009-07-20 0:17 ` ptyser at xes-inc.com
2009-07-20 0:17 ` [U-Boot] [PATCH 3/3] Remove last remanants of unused CONFIG_I2C_CMD_TREE ptyser at xes-inc.com
` (2 more replies)
2009-07-21 14:16 ` [U-Boot] [PATCH 1/3] xpedite5200, 5370: Use buffered NOR flash writes Kumar Gala
1 sibling, 3 replies; 7+ messages in thread
From: ptyser at xes-inc.com @ 2009-07-20 0:17 UTC (permalink / raw)
To: u-boot
From: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
---
board/xes/xpedite5370/xpedite5370.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/xes/xpedite5370/xpedite5370.c b/board/xes/xpedite5370/xpedite5370.c
index 22cf294..d54c699 100644
--- a/board/xes/xpedite5370/xpedite5370.c
+++ b/board/xes/xpedite5370/xpedite5370.c
@@ -84,8 +84,8 @@ int board_early_init_r(void)
/* Initialize PCA9557 devices */
pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR0, 0xff, 0);
pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR1, 0xff, 0);
- pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR0, 0xff, 0);
- pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR0, 0xff, 0);
+ pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR2, 0xff, 0);
+ pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR3, 0xff, 0);
/*
* Remap NOR flash region to caching-inhibited
--
1.6.2-rc2.GIT
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 3/3] Remove last remanants of unused CONFIG_I2C_CMD_TREE
2009-07-20 0:17 ` [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo ptyser at xes-inc.com
@ 2009-07-20 0:17 ` ptyser at xes-inc.com
2009-07-20 11:12 ` Heiko Schocher
2009-07-20 10:51 ` [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo Heiko Schocher
2009-07-21 14:16 ` Kumar Gala
2 siblings, 1 reply; 7+ messages in thread
From: ptyser at xes-inc.com @ 2009-07-20 0:17 UTC (permalink / raw)
To: u-boot
From: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
---
include/configs/P2020DS.h | 1 -
include/configs/XPEDITE5170.h | 1 -
include/configs/aria.h | 1 -
include/configs/mecp5123.h | 1 -
4 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/include/configs/P2020DS.h b/include/configs/P2020DS.h
index 676f013..70ab96f 100644
--- a/include/configs/P2020DS.h
+++ b/include/configs/P2020DS.h
@@ -412,7 +412,6 @@ extern unsigned long calculate_board_ddr_clk(unsigned long dummy);
#define CONFIG_HARD_I2C /* I2C with hardware support */
#undef CONFIG_SOFT_I2C /* I2C bit-banged */
#define CONFIG_I2C_MULTI_BUS
-#define CONFIG_I2C_CMD_TREE
#define CONFIG_SYS_I2C_SPEED 400000 /* I2C speed and slave address */
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x57
#define CONFIG_SYS_I2C_SLAVE 0x7F
diff --git a/include/configs/XPEDITE5170.h b/include/configs/XPEDITE5170.h
index 2553293..985b589 100644
--- a/include/configs/XPEDITE5170.h
+++ b/include/configs/XPEDITE5170.h
@@ -254,7 +254,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_I2C_OFFSET 0x3000
#define CONFIG_SYS_I2C2_OFFSET 0x3100
#define CONFIG_I2C_MULTI_BUS
-#define CONFIG_I2C_CMD_TREE
/* PEX8518 slave I2C interface */
#define CONFIG_SYS_I2C_PEX8518_ADDR 0x70
diff --git a/include/configs/aria.h b/include/configs/aria.h
index e7e238d..4211113 100644
--- a/include/configs/aria.h
+++ b/include/configs/aria.h
@@ -376,7 +376,6 @@
#define CONFIG_HARD_I2C /* I2C with hardware support */
#undef CONFIG_SOFT_I2C /* so disable bit-banged I2C */
#define CONFIG_I2C_MULTI_BUS
-#define CONFIG_I2C_CMD_TREE
/* I2C speed and slave address */
#define CONFIG_SYS_I2C_SPEED 100000
diff --git a/include/configs/mecp5123.h b/include/configs/mecp5123.h
index e00859a..1ecae00 100644
--- a/include/configs/mecp5123.h
+++ b/include/configs/mecp5123.h
@@ -249,7 +249,6 @@
#define CONFIG_HARD_I2C /* I2C with hardware support */
#undef CONFIG_SOFT_I2C /* so disable bit-banged I2C */
#define CONFIG_I2C_MULTI_BUS
-#define CONFIG_I2C_CMD_TREE
#define CONFIG_SYS_I2C_SPEED 400000 /* I2C speed */
#define CONFIG_SYS_I2C_SLAVE 0x7F /* slave address */
--
1.6.2-rc2.GIT
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo
2009-07-20 0:17 ` [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo ptyser at xes-inc.com
2009-07-20 0:17 ` [U-Boot] [PATCH 3/3] Remove last remanants of unused CONFIG_I2C_CMD_TREE ptyser at xes-inc.com
@ 2009-07-20 10:51 ` Heiko Schocher
2009-07-21 14:16 ` Kumar Gala
2 siblings, 0 replies; 7+ messages in thread
From: Heiko Schocher @ 2009-07-20 10:51 UTC (permalink / raw)
To: u-boot
Hello Peter,
ptyser at xes-inc.com wrote:
> From: Peter Tyser <ptyser@xes-inc.com>
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> ---
> board/xes/xpedite5370/xpedite5370.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/board/xes/xpedite5370/xpedite5370.c b/board/xes/xpedite5370/xpedite5370.c
> index 22cf294..d54c699 100644
> --- a/board/xes/xpedite5370/xpedite5370.c
> +++ b/board/xes/xpedite5370/xpedite5370.c
> @@ -84,8 +84,8 @@ int board_early_init_r(void)
> /* Initialize PCA9557 devices */
> pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR0, 0xff, 0);
> pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR1, 0xff, 0);
> - pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR0, 0xff, 0);
> - pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR0, 0xff, 0);
> + pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR2, 0xff, 0);
> + pca953x_set_pol(CONFIG_SYS_I2C_PCA953X_ADDR3, 0xff, 0);
>
> /*
> * Remap NOR flash region to caching-inhibited
This go through the mpc85xx maintainer, so you get my
Acked-by: Heiko Schocher<hs@denx.de>
bye
Heiko
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 3/3] Remove last remanants of unused CONFIG_I2C_CMD_TREE
2009-07-20 0:17 ` [U-Boot] [PATCH 3/3] Remove last remanants of unused CONFIG_I2C_CMD_TREE ptyser at xes-inc.com
@ 2009-07-20 11:12 ` Heiko Schocher
0 siblings, 0 replies; 7+ messages in thread
From: Heiko Schocher @ 2009-07-20 11:12 UTC (permalink / raw)
To: u-boot
Hello Peter,
ptyser at xes-inc.com wrote:
> From: Peter Tyser <ptyser@xes-inc.com>
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> ---
> include/configs/P2020DS.h | 1 -
> include/configs/XPEDITE5170.h | 1 -
> include/configs/aria.h | 1 -
> include/configs/mecp5123.h | 1 -
> 4 files changed, 0 insertions(+), 4 deletions(-)
added to u-boot-i2c.git
Thanks!
bye
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 1/3] xpedite5200, 5370: Use buffered NOR flash writes
2009-07-20 0:17 [U-Boot] [PATCH 1/3] xpedite5200, 5370: Use buffered NOR flash writes ptyser at xes-inc.com
2009-07-20 0:17 ` [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo ptyser at xes-inc.com
@ 2009-07-21 14:16 ` Kumar Gala
1 sibling, 0 replies; 7+ messages in thread
From: Kumar Gala @ 2009-07-21 14:16 UTC (permalink / raw)
To: u-boot
On Jul 19, 2009, at 7:17 PM, ptyser at xes-inc.com wrote:
> From: Peter Tyser <ptyser@xes-inc.com>
>
> Buffered writes are possible on the XPedite5200 and XPedite5370 and
> greatly
> improve NOR flash write speeds
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> ---
> I miscalculated the merge window close time... I hope to slip these
> last 3
> trivial changes in the upcoming release if possible.
>
> Thanks,
> Peter
applied
- k
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo
2009-07-20 0:17 ` [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo ptyser at xes-inc.com
2009-07-20 0:17 ` [U-Boot] [PATCH 3/3] Remove last remanants of unused CONFIG_I2C_CMD_TREE ptyser at xes-inc.com
2009-07-20 10:51 ` [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo Heiko Schocher
@ 2009-07-21 14:16 ` Kumar Gala
2 siblings, 0 replies; 7+ messages in thread
From: Kumar Gala @ 2009-07-21 14:16 UTC (permalink / raw)
To: u-boot
On Jul 19, 2009, at 7:17 PM, ptyser at xes-inc.com wrote:
> From: Peter Tyser <ptyser@xes-inc.com>
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> ---
> board/xes/xpedite5370/xpedite5370.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
applied
- k
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-07-21 14:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-20 0:17 [U-Boot] [PATCH 1/3] xpedite5200, 5370: Use buffered NOR flash writes ptyser at xes-inc.com
2009-07-20 0:17 ` [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo ptyser at xes-inc.com
2009-07-20 0:17 ` [U-Boot] [PATCH 3/3] Remove last remanants of unused CONFIG_I2C_CMD_TREE ptyser at xes-inc.com
2009-07-20 11:12 ` Heiko Schocher
2009-07-20 10:51 ` [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo Heiko Schocher
2009-07-21 14:16 ` Kumar Gala
2009-07-21 14:16 ` [U-Boot] [PATCH 1/3] xpedite5200, 5370: Use buffered NOR flash writes Kumar Gala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox