From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 28 Oct 2013 08:02:17 +0100 Subject: [U-Boot] [PATCH v4 04/11] KM: define CONFIG_SYS_I2C_INIT_BOARD only for concerned board In-Reply-To: <1382089644-14595-5-git-send-email-valentin.longchamp@keymile.com> References: <1382089644-14595-1-git-send-email-valentin.longchamp@keymile.com> <1382089644-14595-5-git-send-email-valentin.longchamp@keymile.com> Message-ID: <526E0BF9.2000305@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > --- > 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 bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany