From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] compulab: eeprom: add default eeprom bus
Date: Wed, 17 Sep 2014 17:18:49 +0300 [thread overview]
Message-ID: <54199849.8030004@compulab.co.il> (raw)
In-Reply-To: <1410958765-6525-1-git-send-email-nikita@compulab.co.il>
On 09/17/14 15:59, Nikita Kiryanov wrote:
> Add default eeprom bus setting.
> This addresses the trimslice compile error that was introduced
> with the addition of this setting.
>
> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
> Cc: Igor Grinberg <grinberg@compulab.co.il>
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Albert, this should be a temporary fix to not break the trimslice support.
We intend to rework this while switching Kconfig for all boards.
Thanks!
> ---
> board/compulab/common/eeprom.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/board/compulab/common/eeprom.c b/board/compulab/common/eeprom.c
> index 85442cd..2df3ada 100644
> --- a/board/compulab/common/eeprom.c
> +++ b/board/compulab/common/eeprom.c
> @@ -15,6 +15,10 @@
> # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
> #endif
>
> +#ifndef CONFIG_SYS_I2C_EEPROM_BUS
> +#define CONFIG_SYS_I2C_EEPROM_BUS 0
> +#endif
> +
> #define EEPROM_LAYOUT_VER_OFFSET 44
> #define BOARD_SERIAL_OFFSET 20
> #define BOARD_SERIAL_OFFSET_LEGACY 8
>
--
Regards,
Igor.
next prev parent reply other threads:[~2014-09-17 14:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-17 12:59 [U-Boot] [PATCH] compulab: eeprom: add default eeprom bus Nikita Kiryanov
2014-09-17 14:18 ` Igor Grinberg [this message]
2014-09-18 12:26 ` Albert ARIBAUD
2014-09-18 13:21 ` Nikita Kiryanov
2014-09-18 20:35 ` Albert ARIBAUD
2014-10-08 12:03 ` Nikita Kiryanov
2014-10-09 8:50 ` Albert ARIBAUD
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=54199849.8030004@compulab.co.il \
--to=grinberg@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.