* [PATCH] ARM: OMAP2+: timer: build with DRA7xx enable but without OMAP5
@ 2013-09-30 9:15 Sebastian Andrzej Siewior
2013-09-30 9:20 ` Sricharan R
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2013-09-30 9:15 UTC (permalink / raw)
To: Tony Lindgren
Cc: open list:OMAP SUPPORT, Sebastian Andrzej Siewior, R Sricharan,
Rajendra Nayak
with DRA7xx and without OMAP5 selected we get
|arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x40): undefined reference to `omap5_realtime_timer_init'
|make[1]: *** [vmlinux] Error 1
since ARM: DRA7: board-generic: Add basic DT support ("439bf39e").
Cc: Tony Lindgren <tony@atomide.com>
Cc: R Sricharan <r.sricharan@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
arch/arm/mach-omap2/timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index fa74a06..4fd1816 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -628,7 +628,7 @@ void __init omap4_local_timer_init(void)
#endif /* CONFIG_HAVE_ARM_TWD */
#endif /* CONFIG_ARCH_OMAP4 */
-#ifdef CONFIG_SOC_OMAP5
+#if defined(CONFIG_SOC_OMAP5) || defined(CONFIG_SOC_DRA7XX)
void __init omap5_realtime_timer_init(void)
{
omap4_sync32k_timer_init();
--
1.8.4.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP2+: timer: build with DRA7xx enable but without OMAP5
2013-09-30 9:15 [PATCH] ARM: OMAP2+: timer: build with DRA7xx enable but without OMAP5 Sebastian Andrzej Siewior
@ 2013-09-30 9:20 ` Sricharan R
0 siblings, 0 replies; 2+ messages in thread
From: Sricharan R @ 2013-09-30 9:20 UTC (permalink / raw)
To: Sebastian Andrzej Siewior; +Cc: Tony Lindgren, OMAP SUPPORT, Rajendra Nayak
On Monday 30 September 2013 02:45 PM, Sebastian Andrzej Siewior wrote:
> with DRA7xx and without OMAP5 selected we get
> |arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x40): undefined reference to `omap5_realtime_timer_init'
> |make[1]: *** [vmlinux] Error 1
>
> since ARM: DRA7: board-generic: Add basic DT support ("439bf39e").
>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: R Sricharan <r.sricharan@ti.com>
> Cc: Rajendra Nayak <rnayak@ti.com>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> ---
> arch/arm/mach-omap2/timer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
> index fa74a06..4fd1816 100644
> --- a/arch/arm/mach-omap2/timer.c
> +++ b/arch/arm/mach-omap2/timer.c
> @@ -628,7 +628,7 @@ void __init omap4_local_timer_init(void)
> #endif /* CONFIG_HAVE_ARM_TWD */
> #endif /* CONFIG_ARCH_OMAP4 */
>
> -#ifdef CONFIG_SOC_OMAP5
> +#if defined(CONFIG_SOC_OMAP5) || defined(CONFIG_SOC_DRA7XX)
> void __init omap5_realtime_timer_init(void)
> {
> omap4_sync32k_timer_init();
Yes, this was missing. Thanks for the fix.
Regards,
Sricharan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-30 9:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 9:15 [PATCH] ARM: OMAP2+: timer: build with DRA7xx enable but without OMAP5 Sebastian Andrzej Siewior
2013-09-30 9:20 ` Sricharan R
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.