ARM: mxs: enable ocotp on imx23 and imx28
Subsystems (3)
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
@@ -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
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
Cc Shawn Guo <[email protected]>Signed-off-by Marc Kleine-Budde <[email protected]>---
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>
PATCH 1/1 ARM: mxs: enable ocotp on imx23 and imx28
In reply to Marc Kleine-BuddeQuoted 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
Cc Shawn Guo <[email protected]>Signed-off-by Marc Kleine-Budde <[email protected]>---
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