summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-01-27 22:47:13 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-28 08:18:44 +0100
commitf3ff746d20931b681f5f1fcac44aea317b06dac0 (patch)
treed74192654fb0a083735604e0eaf01a0dfc9c2909 /arch/arm/mach-mxs
parentf0535fe5eee24fd78643dcd2e448c2f7d0c386ee (diff)
downloadbarebox-f3ff746d20931b681f5f1fcac44aea317b06dac0.tar.gz
barebox-f3ff746d20931b681f5f1fcac44aea317b06dac0.tar.xz
ARM: MXS: Create ocotp device in SoC code
The ocotp device is completely SoC internal, no need to register it from boards. Register it from SoC code instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r--arch/arm/mach-mxs/soc-imx28.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/soc-imx28.c b/arch/arm/mach-mxs/soc-imx28.c
index 4f0d89508c..b4ec38d912 100644
--- a/arch/arm/mach-mxs/soc-imx28.c
+++ b/arch/arm/mach-mxs/soc-imx28.c
@@ -66,6 +66,7 @@ static int imx28_devices_init(void)
add_generic_device("imx28-gpio", 2, NULL, IMX_IOMUXC_BASE, 0x2000, IORESOURCE_MEM, NULL);
add_generic_device("imx28-gpio", 3, NULL, IMX_IOMUXC_BASE, 0x2000, IORESOURCE_MEM, NULL);
add_generic_device("imx28-gpio", 4, NULL, IMX_IOMUXC_BASE, 0x2000, IORESOURCE_MEM, NULL);
+ add_generic_device("ocotp", 0, NULL, IMX_OCOTP_BASE, 0x2000, IORESOURCE_MEM, NULL);
return 0;
}