KM: define CONFIG_SYS_I2C_INIT_BOARD only for concerned board
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 18 Oct 2013 09:47:17 +0000 (11:47 +0200)
committerYork Sun <yorksun@freescale.com>
Thu, 24 Oct 2013 16:35:33 +0000 (09:35 -0700)
commit0a4f88b98c098532bfe0a4a5f874e6e05708c4f3
tree08e58ce9f0b5740bd7f3c05fbf2901b88c2452e1
parent7c3d6a29cd1ed315185068fd8384d150ef5f967b
KM: define CONFIG_SYS_I2C_INIT_BOARD only for concerned board

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@keymile.com>
board/keymile/common/common.c
include/configs/km/keymile-common.h
include/configs/km/km_arm.h
include/configs/km82xx.h