[U-Boot] [PATCH v4 04/11] KM: define CONFIG_SYS_I2C_INIT_BOARD only for concerned board

York Sun yorksun at freescale.com
Fri Oct 18 20:21:14 CEST 2013


On 10/18/2013 02:47 AM, Valentin Longchamp wrote:
> This must be defined for all the keymile boards that use the common
> i2c_abort function that is used to "reset" the I2C bus. These are
> currently km82xx and km_arm boards.
> 
> The  km83xx boards use other functions and thus do not need this.
> 
> This patch removes the CONFIG_SYS_I2C_INIT_BOARD from keymile-common.h
> and defines it for km_arm.h and km82xx.h.
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
> 
> ---
> Changes in v4: None
> Changes in v3:
> - take the new I2C defines into account and use
>   CONFIG_SYS_I2C_INIT_BOARD instead of an additional option and define
>   it only for the I2C bitbang KM boards (km_arm and km82xx) and not for
>   all KM boards.
> 
> Changes in v2:
> - Introduce CONFIG_KM_I2C_ABORT #define to avoid #if !defined in
>   common.c

Applied to 85xx/next, pending merge to 85xx/master.

York






More information about the U-Boot mailing list