mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/1] at91sam9x5ek: add at24c512 support
@ 2012-11-03 21:02 Jean-Christophe PLAGNIOL-VILLARD
  2012-11-12  7:43 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-11-03 21:02 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
Hi,

	this depends on the at24 support patch serie + at91sam9x5ek add i2c
	with qt1070 support

The following changes since commit 9277684dbac6ae0b66f23bcb730a9737d22a335c:

  eeprom: add at24 support (2012-11-03 13:41:58 +0800)

are available in the git repository at:

  git://git.jcrosoft.org/barebox.git delivery/at91_i2c

for you to fetch changes up to 706c6d5c382803959e89218bb0ffb0890cf885cd:

  at91sam9x5ek: add at24c512 support (2012-11-03 13:44:16 +0800)

Jean-Christophe PLAGNIOL-VILLARD (1):
      at91sam9x5ek: add at24c512 support

 arch/arm/boards/at91sam9x5ek/init.c     |    2 ++
 arch/arm/configs/at91sam9x5ek_defconfig |    1 +
 2 files changed, 3 insertions(+)

Best Regards,
J.

diff --git a/arch/arm/boards/at91sam9x5ek/init.c b/arch/arm/boards/at91sam9x5ek/init.c
index dbb9bb5..dc8853e 100644
--- a/arch/arm/boards/at91sam9x5ek/init.c
+++ b/arch/arm/boards/at91sam9x5ek/init.c
@@ -122,6 +122,8 @@ static struct i2c_board_info i2c_devices[] = {
 	{
 		.platform_data = &qt1070_pdata,
 		I2C_BOARD_INFO("qt1070", 0x1b),
+	}, {
+		I2C_BOARD_INFO("24c512", 0x51)
 	},
 };
 
diff --git a/arch/arm/configs/at91sam9x5ek_defconfig b/arch/arm/configs/at91sam9x5ek_defconfig
index 3e66c44..cbbd780 100644
--- a/arch/arm/configs/at91sam9x5ek_defconfig
+++ b/arch/arm/configs/at91sam9x5ek_defconfig
@@ -67,6 +67,7 @@ CONFIG_DISK_WRITE=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_LED_TRIGGERS=y
+CONFIG_EEPROM_AT24=y
 CONFIG_KEYBOARD_QT1070=y
 CONFIG_W1=y
 CONFIG_W1_MASTER_GPIO=y
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2012-11-12  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-03 21:02 [PATCH 1/1] at91sam9x5ek: add at24c512 support Jean-Christophe PLAGNIOL-VILLARD
2012-11-12  7:43 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox