From: mkl@pengutronix.de (Marc Kleine-Budde)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mxs: enable ocotp on imx23 and imx28
Date: Sun, 22 Jul 2012 23:48:17 +0200 [thread overview]
Message-ID: <1342993697-25875-1-git-send-email-mkl@pengutronix.de> (raw)
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
next reply other threads:[~2012-07-22 21:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-22 21:48 Marc Kleine-Budde [this message]
2012-07-25 11:05 ` [PATCH] ARM: mxs: enable ocotp on imx23 and imx28 Marc Kleine-Budde
2012-07-28 8:44 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1342993697-25875-1-git-send-email-mkl@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).