[U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo

ptyser at xes-inc.com ptyser at xes-inc.com
Mon Jul 20 02:17:41 CEST 2009


From: Peter Tyser <ptyser at xes-inc.com>

Signed-off-by: Peter Tyser <ptyser at 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



More information about the U-Boot mailing list