Patchwork [U-Boot] arm/km: fix i2c mux define for km_kirkwood_128m16 target

login
register
mail settings
Submitter Holger Brunck
Date Oct. 7, 2013, 1:10 p.m.
Message ID <1381151403-25468-1-git-send-email-holger.brunck@keymile.com>
Download mbox | patch
Permalink /patch/281105/
State New
Delegated to: Prafulla Wadaskar
Headers show

Comments

Holger Brunck - Oct. 7, 2013, 1:10 p.m.
Due to the i2c mux rework in u-boot we now have only to specify the
busnumber and not the whole mux configuration.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
 
---
 include/configs/km_kirkwood.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Heiko Schocher - Oct. 8, 2013, 5:10 a.m.
Hello Holger,

Am 07.10.2013 15:10, schrieb Holger Brunck:
> Due to the i2c mux rework in u-boot we now have only to specify the
> busnumber and not the whole mux configuration.
>
> Signed-off-by: Holger Brunck<holger.brunck@keymile.com>
>
> ---
>   include/configs/km_kirkwood.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Thanks for this fix,

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko

Patch

diff --git a/include/configs/km_kirkwood.h b/include/configs/km_kirkwood.h
index 3806762..2bd89b1 100644
--- a/include/configs/km_kirkwood.h
+++ b/include/configs/km_kirkwood.h
@@ -43,7 +43,7 @@ 
 #define CONFIG_SYS_KWD_CONFIG \
 		$(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage_128M16_1.cfg
 #define CONFIG_KM_DISABLE_PCIE
-#define KM_IVM_BUS			"pca9544a:70:9"	/* I2C2 (Mux-Port 1)*/
+#define CONFIG_KM_IVM_BUS		1	/* I2C2 (Mux-Port 1)*/
 
 /* KM_NUSA */
 #elif defined(CONFIG_KM_NUSA)