mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] arm: cfa10036: Add the OCOTP device
@ 2012-09-28 13:58 Maxime Ripard
  2012-09-28 14:32 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Ripard @ 2012-09-28 13:58 UTC (permalink / raw)
  To: barebox; +Cc: brian

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boards/crystalfontz-cfa10036/cfa10036.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
index fcb7057..522d2d7 100644
--- a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
+++ b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
@@ -23,6 +23,7 @@
 #include <init.h>
 #include <mci.h>
 #include <io.h>
+#include <net.h>
 #include <sizes.h>
 
 #include <mach/clock.h>
@@ -93,6 +94,9 @@ static int cfa10036_devices_init(void)
 	add_generic_device("mxs_mci", 0, NULL, IMX_SSP0_BASE, SZ_8K,
 			   IORESOURCE_MEM, &mci_pdata);
 
+	add_generic_device("ocotp", 0, NULL, IMX_OCOTP_BASE, SZ_8K,
+			   IORESOURCE_MEM, NULL);
+
 	return 0;
 }
 device_initcall(cfa10036_devices_init);
-- 
1.7.9.5


_______________________________________________
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-09-28 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 13:58 [PATCH] arm: cfa10036: Add the OCOTP device Maxime Ripard
2012-09-28 14:32 ` Sascha Hauer

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