u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] compulab: eeprom: add default eeprom bus
@ 2014-09-17 12:59 Nikita Kiryanov
  2014-09-17 14:18 ` Igor Grinberg
  2014-10-09  8:50 ` Albert ARIBAUD
  0 siblings, 2 replies; 7+ messages in thread
From: Nikita Kiryanov @ 2014-09-17 12:59 UTC (permalink / raw)
  To: u-boot

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>
---
 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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-09  8:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-17 12:59 [U-Boot] [PATCH] compulab: eeprom: add default eeprom bus Nikita Kiryanov
2014-09-17 14:18 ` Igor Grinberg
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).