From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 18 Oct 2013 11:21:14 -0700 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: <52617C1A.3010102@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > --- > 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