linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mxs: enable ocotp on imx23 and imx28
@ 2012-07-22 21:48 Marc Kleine-Budde
  2012-07-25 11:05 ` Marc Kleine-Budde
  2012-07-28  8:44 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2012-07-22 21:48 UTC (permalink / raw)
  To: linux-arm-kernel

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 <shawn.guo@linaro.org>
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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ARM: mxs: enable ocotp on imx23 and imx28
  2012-07-22 21:48 [PATCH] ARM: mxs: enable ocotp on imx23 and imx28 Marc Kleine-Budde
@ 2012-07-25 11:05 ` Marc Kleine-Budde
  2012-07-28  8:44 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2012-07-25 11:05 UTC (permalink / raw)
  To: linux-arm-kernel

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 <shawn.guo@linaro.org>
> 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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: mxs: enable ocotp on imx23 and imx28
  2012-07-22 21:48 [PATCH] ARM: mxs: enable ocotp on imx23 and imx28 Marc Kleine-Budde
  2012-07-25 11:05 ` Marc Kleine-Budde
@ 2012-07-28  8:44 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2012-07-28  8:44 UTC (permalink / raw)
  To: linux-arm-kernel

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 <shawn.guo@linaro.org>
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-28  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-22 21:48 [PATCH] ARM: mxs: enable ocotp on imx23 and imx28 Marc Kleine-Budde
2012-07-25 11:05 ` Marc Kleine-Budde
2012-07-28  8:44 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).