From patchwork Sun Jul 22 21:48:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: ARM: mxs: enable ocotp on imx23 and imx28 Date: Sun, 22 Jul 2012 11:48:17 -0000 From: Marc Kleine-Budde X-Patchwork-Id: 172530 Message-Id: <1342993697-25875-1-git-send-email-mkl@pengutronix.de> To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Marc Kleine-Budde , kernel@pengutronix.de 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' Cc: Shawn Guo Signed-off-by: Marc Kleine-Budde --- 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(+) diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig index ccdf83b..9dd743e 100644 --- a/arch/arm/mach-mxs/Kconfig +++ b/arch/arm/mach-mxs/Kconfig @@ -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:"