Skip to contentSkip to conversation

ARM: mxs: enable ocotp on imx23 and imx28

PATCH New Marc Kleine-Budde 2 participants 3 messages Jul 22, 2012 – Jul 28, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mxs: enable ocotp on imx23 and imx28

This patch adds ocotp support to imx23 and imx28, a dt-only kernel fails to link with this error message otherwise:

arch/arm/mach-mxs/mach-mxs.c:169: undefined reference to `mxs_get_ocotp'

---
Hello Shawn,

this applies to your "mxs/dt-for-3.6" tree. According to the datasheet both processors have a ocotp unit. Hope it alright to select the OCOTP on both imx23 and imx28.

regards, Marc

 arch/arm/mach-mxs/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-mxs/Kconfig +2 -0
index ccdf83b..9dd743e 100644
@@ -10,6 +10,7 @@ config SOC_IMX23
 	select ARM_AMBA
 	select CPU_ARM926T
 	select HAVE_PWM
+	select MXS_OCOTP
 	select PINCTRL_IMX23
 
 config SOC_IMX28
@@ -18,6 +19,7 @@ config SOC_IMX28
 	select CPU_ARM926T
 	select HAVE_CAN_FLEXCAN if CAN
 	select HAVE_PWM
+	select MXS_OCOTP
 	select PINCTRL_IMX28
 
 comment "MXS platforms:"
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 ARM: mxs: enable ocotp on imx23 and imx28

Quoted 5 lines · Marc Kleine-Budde

This patch adds ocotp support to imx23 and imx28, a dt-only kernel fails to link with this error message otherwise:

arch/arm/mach-mxs/mach-mxs.c:169: undefined reference to `mxs_get_ocotp'

Quoted 8 lines

---
Hello Shawn,

this applies to your "mxs/dt-for-3.6" tree. According to the datasheet both processors have a ocotp unit. Hope it alright to select the OCOTP on both imx23 and imx28.

ping

Marc

Signature · 12 lines
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120725/8955a5a5/attachment-0001.sig>
#2 lore raw

PATCH 1/1 ARM: mxs: enable ocotp on imx23 and imx28

In reply to Marc Kleine-Budde
Quoted 5 lines · Marc Kleine-Budde

This patch adds ocotp support to imx23 and imx28, a dt-only kernel fails to link with this error message otherwise:

arch/arm/mach-mxs/mach-mxs.c:169: undefined reference to `mxs_get_ocotp'

Quoted 9 lines

---
Hello Shawn,

this applies to your "mxs/dt-for-3.6" tree. According to the datasheet both processors have a ocotp unit. Hope it alright to select the OCOTP on both imx23 and imx28.

I prefer to remove MXS_OCOTP completely and always build in ocotp.c, as we are on the way to remove those board files, the users of the Kconfig symbol.

Signature · 2 lines
Regards,
Shawn