public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 04/11] KM: define CONFIG_SYS_I2C_INIT_BOARD only for concerned board
Date: Mon, 28 Oct 2013 08:02:17 +0100	[thread overview]
Message-ID: <526E0BF9.2000305@denx.de> (raw)
In-Reply-To: <1382089644-14595-5-git-send-email-valentin.longchamp@keymile.com>

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@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@denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  parent reply	other threads:[~2013-10-28  7:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-18  9:47 [U-Boot] [PATCH v4 0/11] Support for the kmp204x reference design Valentin Longchamp
2013-10-18  9:47 ` [U-Boot] [PATCH v4 01/11] powerpc: cast bi_memsize to ulong for %ld usage Valentin Longchamp
2013-10-18 18:19   ` York Sun
2013-10-18  9:47 ` [U-Boot] [PATCH v4 02/11] km-powerpc: move SYS_MALLOC_LEN out of keymile-common.h Valentin Longchamp
2013-10-18 18:20   ` York Sun
2013-10-18  9:47 ` [U-Boot] [PATCH v4 03/11] KM: fix typo in default environment Valentin Longchamp
2013-10-18 18:20   ` York Sun
2013-10-18  9:47 ` [U-Boot] [PATCH v4 04/11] KM: define CONFIG_SYS_I2C_INIT_BOARD only for concerned board Valentin Longchamp
2013-10-18 18:21   ` York Sun
2013-10-28  7:02   ` Heiko Schocher [this message]
2013-10-18  9:47 ` [U-Boot] [PATCH v4 05/11] KM: add CONFIG_KM_COMMON_ETH_INIT for km common eth init Valentin Longchamp
2013-10-18 18:21   ` York Sun
2013-10-18  9:47 ` [U-Boot] [PATCH v4 06/11] mpc8xxx: call i2c_set_bus_num in __get_spd Valentin Longchamp
2013-10-18 18:24   ` York Sun
2013-10-28  7:02   ` Heiko Schocher
2013-10-18  9:47 ` [U-Boot] [PATCH v4 07/11] mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it Valentin Longchamp
2013-10-18 18:34   ` York Sun
2013-10-18  9:47 ` [U-Boot] [PATCH v4 08/11] net/fman: add a fm_enable_port function Valentin Longchamp
2013-10-18 18:35   ` York Sun
2013-10-18  9:47 ` [U-Boot] [PATCH v4 09/11] mtd/fsl_elbc: take NAND_ECC_SOFT_BCH config option into account Valentin Longchamp
2013-10-18 18:35   ` York Sun
2013-10-18  9:47 ` [U-Boot] [PATCH v4 10/11] fsl/mpc85xx: define common serdes_clock_to_string function Valentin Longchamp
2013-10-18 18:35   ` York Sun
2013-10-18  9:47 ` [U-Boot] [PATCH v4 11/11] mpc85xx: introduce the kmp204x reference design support Valentin Longchamp
2013-10-18 18:36   ` York Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=526E0BF9.2000305@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox