From: Fabio Estevam <fabio.estevam@freescale.com>
Date: Fri, 8 Mar 2013 04:47:10 +0000 (+0000)
Subject: mx28evk: Disable CONFIG_CMD_I2C
X-Git-Tag: v2025.01-rc5-pxa1908~16302^2~77^2~18
X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=a49db3df76619022ddbf03ea16d715cebd57cf1b;p=u-boot.git

mx28evk: Disable CONFIG_CMD_I2C

When loading a Freescale 2.6.35 on a mx28evk the following issue is seen:

sgtl5000_hw_read: read reg error : Reg 0x00
Device with ID register 0 is not a SGTL5000

Disabling CONFIG_CMD_I2C makes the sgtl5000 probe to succeed.

Mainline kernel does not show this problem.

Until the real cause is not identified, disable 'CONFIG_CMD_I2C' for the
time being.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---

diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index c5d57896f2..428fe868ce 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -62,7 +62,6 @@
 #define CONFIG_CMD_SPI
 #define CONFIG_CMD_USB
 #define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_I2C
 
 /* Memory configurations */
 #define CONFIG_NR_DRAM_BANKS		1		/* 1 bank of DRAM */