]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xpedite5370: Fix I2C GPIO initialization typo
authorPeter Tyser <ptyser@xes-inc.com>
Mon, 20 Jul 2009 00:17:41 +0000 (19:17 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 22 Jul 2009 14:43:49 +0000 (09:43 -0500)
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Heiko Schocher<hs@denx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/xes/xpedite5370/xpedite5370.c

index 22cf29431498475d2c0d646c05870f10b7f5e655..d54c69972c5222e3be6b03b5c9866e1c728d5c86 100644 (file)
@@ -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