public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ilya Ledvich <ilya@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] compulab: eeprom: enable any i2c driver
Date: Wed, 16 Apr 2014 17:32:43 +0300	[thread overview]
Message-ID: <534E948B.2000004@compulab.co.il> (raw)
In-Reply-To: <1397645306-23346-1-git-send-email-ilya@compulab.co.il>

On 04/16/2014 01:48 PM, Ilya Ledvich wrote:
> Make the common eeprom library available for any I2C driver.
>
> Signed-off-by: Ilya Ledvich <ilya@compulab.co.il>

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>

> ---
>   board/compulab/common/Makefile |    2 +-
>   board/compulab/common/eeprom.h |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/board/compulab/common/Makefile b/board/compulab/common/Makefile
> index 6d7d068..4044ac9 100644
> --- a/board/compulab/common/Makefile
> +++ b/board/compulab/common/Makefile
> @@ -6,5 +6,5 @@
>   # SPDX-License-Identifier:	GPL-2.0+
>   #
>
> -obj-$(CONFIG_SYS_I2C_OMAP34XX) += eeprom.o
> +obj-$(CONFIG_SYS_I2C) += eeprom.o
>   obj-$(CONFIG_LCD) += omap3_display.o
> diff --git a/board/compulab/common/eeprom.h b/board/compulab/common/eeprom.h
> index e871629..85d5bf0 100644
> --- a/board/compulab/common/eeprom.h
> +++ b/board/compulab/common/eeprom.h
> @@ -10,7 +10,7 @@
>   #ifndef _EEPROM_
>   #define _EEPROM_
>
> -#ifdef CONFIG_SYS_I2C_OMAP34XX
> +#ifdef CONFIG_SYS_I2C
>   int cl_eeprom_read_mac_addr(uchar *buf);
>   u32 cl_eeprom_get_board_rev(void);
>   #else
>

  reply	other threads:[~2014-04-16 14:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-16 10:48 [U-Boot] [PATCH] compulab: eeprom: enable any i2c driver Ilya Ledvich
2014-04-16 14:32 ` Ilya Ledvich [this message]
2014-05-14 20:59 ` [U-Boot] " Tom Rini
2014-05-15  8:25   ` [U-Boot] [PATCH] compulab: eeprom: add default eeprom address Igor Grinberg
2014-05-23 23:50     ` [U-Boot] " Tom Rini
2014-05-23 23:51 ` [U-Boot] compulab: eeprom: enable any i2c driver Tom Rini

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=534E948B.2000004@compulab.co.il \
    --to=ilya@compulab.co.il \
    --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