From: Ben Gamari <bgamari.foss@gmail.com>
To: linux-omap@vger.kernel.org, manjugk@ti.com,
santosh.shilimkar@ti.com, khilman@deeprootsystems.com,
tony@atomide.com
Subject: Status of CONFIG_OMAP_DM_TIMER
Date: Thu, 23 Dec 2010 13:07:10 -0500 [thread overview]
Message-ID: <1293127631-764-1-git-send-email-bgamari.foss@gmail.com> (raw)
While compiling a kernel today I found the build was failing with a fair number
of errors while linking vmlinux,
arch/arm/mach-omap2/built-in.o: In function `omap2_gp_timer_set_mode':
/home/bgamari/trees/linux-2.6/arch/arm/mach-omap2/timer-gp.c:84: undefined reference to `omap_dm_timer_stop'
/home/bgamari/trees/linux-2.6/arch/arm/mach-omap2/timer-gp.c:88: undefined reference to `omap_dm_timer_get_fclk'
/home/bgamari/trees/linux-2.6/arch/arm/mach-omap2/timer-gp.c:90: undefined reference to `omap_dm_timer_set_load_start'
...
After investigating a bit more deeply, I found that I had neglected to enable
OMAP_DM_TIMER. Looking further, I found that ARCH_OMAP2PLUS builds timer_gp.o,
which itself has symbol dependencies on the dm_timer framework. Given this
face, it seems that the easiest solution would be to do as I have done in this
patch and make ARCH_OMAP2PLUS depend on OMAP_DM_TIMER, since it will not build
without it. That being said, is it necessary to keep OMAP_DM_TIMER
configurable? What is this option actually buying us?
Cheers,
- Ben
next reply other threads:[~2010-12-23 18:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-23 18:07 Ben Gamari [this message]
2010-12-23 18:07 ` [PATCH] omap2: Make OMAP2PLUS select OMAP_DM_TIMER Ben Gamari
2010-12-23 20:49 ` Tony Lindgren
2010-12-24 2:53 ` Ben Gamari
2010-12-24 2:43 ` Ben Gamari
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=1293127631-764-1-git-send-email-bgamari.foss@gmail.com \
--to=bgamari.foss@gmail.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=manjugk@ti.com \
--cc=santosh.shilimkar@ti.com \
--cc=tony@atomide.com \
/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