Skip to contentSkip to conversation

configs: imx: Remove CONFIG_SYS_SPD_BUS_NUM option

PATCH New Fabio Estevam 2 participants 3 messages Nov 20, 2013 – Dec 17, 2013 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 configs: imx: Remove CONFIG_SYS_SPD_BUS_NUM option

From: Fabio Estevam <[email protected]>

According to the README:

"- CONFIG_SYS_SPD_BUS_NUM
If SPD EEPROM is on an I2C bus other than the first one, specify here. Note that the value must resolve to something your driver can deal with."

There is no SPD EEPROM on the imx boards, so ged rid of this option.

---
 include/configs/imx31_phycore.h | 1 -
 include/configs/mx25pdk.h       | 1 -
 include/configs/mx35pdk.h       | 1 -
 include/configs/mx53ard.h       | 1 -
 include/configs/mx53evk.h       | 1 -
 include/configs/mx53loco.h      | 1 -
 include/configs/mx53smd.h       | 1 -
 7 files changed, 7 deletions(-)
include/configs/imx31_phycore.h +0 -1
index 7b55695..ffb67c2 100644
@@ -37,7 +37,6 @@
 
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		1 /* I2C2 */
 #define CONFIG_SYS_I2C_CLK_OFFSET	I2C2_CLK_OFFSET
 
 #define CONFIG_MXC_UART
include/configs/mx25pdk.h +0 -1
index fb564b0..af6aafa 100644
@@ -115,7 +115,6 @@
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		0 /* I2C1 */
 
 /* RTC */
 #define CONFIG_RTC_IMXDI
include/configs/mx35pdk.h +0 -1
index 4b4503c..0a46f4c 100644
@@ -42,7 +42,6 @@
  */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		0 /* I2C1 */
 #define CONFIG_MXC_SPI
 #define CONFIG_MXC_GPIO
 
include/configs/mx53ard.h +0 -1
index 60c40c8..797a637 100644
@@ -46,7 +46,6 @@
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		1 /* I2C2 */
 
 /* MMC Configs */
 #define CONFIG_FSL_ESDHC
include/configs/mx53evk.h +0 -1
index d0b5258..3f0d80a 100644
@@ -39,7 +39,6 @@
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		1 /* I2C2 */
 
 /* PMIC Configs */
 #define CONFIG_POWER
include/configs/mx53loco.h +0 -1
index 7b735ab..ae43ea3 100644
@@ -73,7 +73,6 @@
 /* I2C Configs */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		0 /* I2C1 */
 
 /* PMIC Controller */
 #define CONFIG_POWER
include/configs/mx53smd.h +0 -1
index c9618b4..a04e7c7 100644
@@ -36,7 +36,6 @@
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		1 /* I2C2 */
 
 /* MMC Configs */
 #define CONFIG_FSL_ESDHC
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 configs: imx: Remove CONFIG_SYS_SPD_BUS_NUM option

Quoted 100 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

According to the README:

"- CONFIG_SYS_SPD_BUS_NUM
If SPD EEPROM is on an I2C bus other than the first one, specify here. Note that the value must resolve to something your driver can deal with."

There is no SPD EEPROM on the imx boards, so ged rid of this option.

---
 include/configs/imx31_phycore.h | 1 -
 include/configs/mx25pdk.h       | 1 -
 include/configs/mx35pdk.h       | 1 -
 include/configs/mx53ard.h       | 1 -
 include/configs/mx53evk.h       | 1 -
 include/configs/mx53loco.h      | 1 -
 include/configs/mx53smd.h       | 1 -
 7 files changed, 7 deletions(-)
include/configs/imx31_phycore.h +0 -1
index 7b55695..ffb67c2 100644
@@ -37,7 +37,6 @@
 
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		1 /* I2C2 */
 #define CONFIG_SYS_I2C_CLK_OFFSET	I2C2_CLK_OFFSET
 
 #define CONFIG_MXC_UART
include/configs/mx25pdk.h +0 -1
index fb564b0..af6aafa 100644
@@ -115,7 +115,6 @@
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		0 /* I2C1 */
 
 /* RTC */
 #define CONFIG_RTC_IMXDI
include/configs/mx35pdk.h +0 -1
index 4b4503c..0a46f4c 100644
@@ -42,7 +42,6 @@
  */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		0 /* I2C1 */
 #define CONFIG_MXC_SPI
 #define CONFIG_MXC_GPIO
 
include/configs/mx53ard.h +0 -1
index 60c40c8..797a637 100644
@@ -46,7 +46,6 @@
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		1 /* I2C2 */
 
 /* MMC Configs */
 #define CONFIG_FSL_ESDHC
include/configs/mx53evk.h +0 -1
index d0b5258..3f0d80a 100644
@@ -39,7 +39,6 @@
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		1 /* I2C2 */
 
 /* PMIC Configs */
 #define CONFIG_POWER
include/configs/mx53loco.h +0 -1
index 7b735ab..ae43ea3 100644
@@ -73,7 +73,6 @@
 /* I2C Configs */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		0 /* I2C1 */
 
 /* PMIC Controller */
 #define CONFIG_POWER
include/configs/mx53smd.h +0 -0
index c9618b4..a04e7c7 100644

include/configs/mx53smd.h line 41

Quoted 7 lines
include/configs/mx53smd.h +0 -1
@@ -36,7 +36,6 @@
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_SPD_BUS_NUM		1 /* I2C2 */
 
 /* MMC Configs */
 #define CONFIG_FSL_ESDHC

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#2 lore raw

PATCH 1/1 configs: imx: Remove CONFIG_SYS_SPD_BUS_NUM option

In reply to Fabio Estevam
Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

According to the README:

"- CONFIG_SYS_SPD_BUS_NUM
If SPD EEPROM is on an I2C bus other than the first one, specify here. Note that the value must resolve to something your driver can deal with."

Quoted 4 lines

There is no SPD EEPROM on the imx boards, so ged rid of this option.

---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================