[U-Boot] [PATCH v4 04/11] KM: define CONFIG_SYS_I2C_INIT_BOARD only for concerned board
Heiko Schocher
hs at denx.de
Mon Oct 28 08:02:17 CET 2013
Hello Valentin,
Am 18.10.2013 11:47, schrieb Valentin Longchamp:
> 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
>
> board/keymile/common/common.c | 25 -------------------------
> include/configs/km/keymile-common.h | 2 --
> include/configs/km/km_arm.h | 4 +---
> include/configs/km82xx.h | 2 ++
> 4 files changed, 3 insertions(+), 30 deletions(-)
Thanks.
Acked-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list