[PATCH] arm: cfa10036: Add the OCOTP device
Maxime Ripard
maxime.ripard at free-electrons.com
Fri Sep 28 09:58:21 EDT 2012
Signed-off-by: Maxime Ripard <maxime.ripard at 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
More information about the barebox
mailing list