[U-Boot] [PATCH] configs: imx: Remove CONFIG_SYS_SPD_BUS_NUM option

Stefano Babic sbabic at denx.de
Thu Nov 21 16:15:14 CET 2013


On 20/11/2013 23:38, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> 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.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  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(-)
> 
> diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h
> index 7b55695..ffb67c2 100644
> --- a/include/configs/imx31_phycore.h
> +++ b/include/configs/imx31_phycore.h
> @@ -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
> diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h
> index fb564b0..af6aafa 100644
> --- a/include/configs/mx25pdk.h
> +++ b/include/configs/mx25pdk.h
> @@ -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
> diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
> index 4b4503c..0a46f4c 100644
> --- a/include/configs/mx35pdk.h
> +++ b/include/configs/mx35pdk.h
> @@ -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
>  
> diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
> index 60c40c8..797a637 100644
> --- a/include/configs/mx53ard.h
> +++ b/include/configs/mx53ard.h
> @@ -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
> diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
> index d0b5258..3f0d80a 100644
> --- a/include/configs/mx53evk.h
> +++ b/include/configs/mx53evk.h
> @@ -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
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index 7b735ab..ae43ea3 100644
> --- a/include/configs/mx53loco.h
> +++ b/include/configs/mx53loco.h
> @@ -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
> diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h
> index c9618b4..a04e7c7 100644
> --- a/include/configs/mx53smd.h
> +++ b/include/configs/mx53smd.h
> @@ -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
> 

Acked-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================


More information about the U-Boot mailing list