ARM: mxs: enable ocotp on imx23 and imx28

Started by Marc Kleine-Budde on Jul 22, 2012 · 3 messages from 2 authors · Last reply Jul 28, 2012

Subsystems (2)

Maintainers (2)

STALE5215d

open the first message on its own page

  1. [PATCH] ARM: mxs: enable ocotp on imx23 and imx28
    Related patches
  2. [PATCH] ARM: mxs: enable ocotp on imx23 and imx28
    Related patches
Message details and related content
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 <redacted>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
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:"
-- 
1.7.10.4
Message details and related content
On 07/22/2012 11:48 PM, Marc Kleine-Budde wrote:
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 <redacted>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
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

-- 
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>
Message details and related content
On Sun, Jul 22, 2012 at 11:48:17PM +0200, Marc Kleine-Budde wrote:
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 <redacted>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
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.

-- 
Regards,
Shawn
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help