linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: imx: imx7d requires anatop
@ 2015-05-28 14:15 Arnd Bergmann
  2015-05-29  9:28 ` [PATCH v2] " Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2015-05-28 14:15 UTC (permalink / raw)
  To: linux-arm-kernel

Like i.MX6, the i.MX7 code calls into the anatop driver, which fails
if that is disabled:

arch/arm/mach-imx/built-in.o: In function `imx7d_init_machine':
arch/arm/mach-imx/mach-imx7d.c:24: undefined reference to `imx_anatop_init'
arch/arm/mach-imx/built-in.o: In function `imx7d_init_irq':
arch/arm/mach-imx/mach-imx7d.c:29: undefined reference to `imx_init_revision_from_anatop'

This patch ensures that for an imx7-only build, we still get anatop
built-in, matching what we do for imx6.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index bb2d058f4d11..e472746b01d2 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -551,6 +551,7 @@ config SOC_IMX7D
 	bool "i.MX7 Dual support"
 	select PINCTRL_IMX7D
 	select ARM_GIC
+	select HAVE_IMX_ANATOP
 	help
 		This enables support for Freescale i.MX7 Dual processor.
 

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

* [PATCH v2] ARM: imx: imx7d requires anatop
  2015-05-28 14:15 [PATCH] ARM: imx: imx7d requires anatop Arnd Bergmann
@ 2015-05-29  9:28 ` Arnd Bergmann
  2015-05-29 13:59   ` Shawn Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2015-05-29  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

Like i.MX6, the i.MX7 code calls into the anatop driver, which fails
if that is disabled:

arch/arm/mach-imx/built-in.o: In function `imx7d_init_machine':
arch/arm/mach-imx/mach-imx7d.c:24: undefined reference to `imx_anatop_init'
arch/arm/mach-imx/built-in.o: In function `imx7d_init_irq':
arch/arm/mach-imx/mach-imx7d.c:29: undefined reference to `imx_init_revision_from_anatop'

This patch ensures that for an imx7-only build, we still get anatop
built-in, matching what we do for imx6. We also need to select 
HAVE_IMX_MMDC, as that is needed by the anatop code.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
I ran into a related problem, please use this version instead
of the first one, to cover all cases.

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index bb2d058f4d11..fd3c5b348586 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -551,6 +551,8 @@ config SOC_IMX7D
 	bool "i.MX7 Dual support"
 	select PINCTRL_IMX7D
 	select ARM_GIC
+	select HAVE_IMX_ANATOP
+	select HAVE_IMX_MMDC
 	help
 		This enables support for Freescale i.MX7 Dual processor.
 

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

* [PATCH v2] ARM: imx: imx7d requires anatop
  2015-05-29  9:28 ` [PATCH v2] " Arnd Bergmann
@ 2015-05-29 13:59   ` Shawn Guo
  0 siblings, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2015-05-29 13:59 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, May 29, 2015 at 11:28:05AM +0200, Arnd Bergmann wrote:
> Like i.MX6, the i.MX7 code calls into the anatop driver, which fails
> if that is disabled:
> 
> arch/arm/mach-imx/built-in.o: In function `imx7d_init_machine':
> arch/arm/mach-imx/mach-imx7d.c:24: undefined reference to `imx_anatop_init'
> arch/arm/mach-imx/built-in.o: In function `imx7d_init_irq':
> arch/arm/mach-imx/mach-imx7d.c:29: undefined reference to `imx_init_revision_from_anatop'
> 
> This patch ensures that for an imx7-only build, we still get anatop
> built-in, matching what we do for imx6. We also need to select 
> HAVE_IMX_MMDC, as that is needed by the anatop code.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> I ran into a related problem, please use this version instead
> of the first one, to cover all cases.

Applied, thanks.

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

end of thread, other threads:[~2015-05-29 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28 14:15 [PATCH] ARM: imx: imx7d requires anatop Arnd Bergmann
2015-05-29  9:28 ` [PATCH v2] " Arnd Bergmann
2015-05-29 13:59   ` 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).