diff options
author | Miguel Vadillo <vadillo@ti.com> | 2010-10-04 18:56:12 -0500 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2010-10-06 20:52:19 -0500 |
commit | 3e269520c9e3e7087dce3a795142dde67b0030ac (patch) | |
tree | c5df7b7a43731c647b668808bfca888ccd38b55a | |
parent | 6bb4fa2ee13643fe56b058d0cc550941328ecbb1 (diff) |
omap:remoteproc: disable gpt3&4 as bios timer source
Each core sys/app were requesting gpt3/4, respectively,
as bios timer source clock. This patch is disabling the use
of those timers as bios timer source since now the internal
M3 timers are set for this purpose. Anyway the mechanism to
set any timer as bios timer source was kept.
If a gptimer is set as bios timer source changes in Ducati side
are needed.
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
-rw-r--r-- | arch/arm/mach-omap2/remoteproc44xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/remoteproc44xx.c b/arch/arm/mach-omap2/remoteproc44xx.c index f3878ca5e008..4189456d018d 100644 --- a/arch/arm/mach-omap2/remoteproc44xx.c +++ b/arch/arm/mach-omap2/remoteproc44xx.c @@ -38,7 +38,7 @@ static inline int proc44x_start(struct device *dev, u32 start_addr) int ret = 0; /* Enable the Timer that would be used by co-processor */ - if (obj->timer_id) { + if (obj->timer_id >= 0) { obj->dmtimer = omap_dm_timer_request_specific(obj->timer_id); if (!obj->dmtimer) { @@ -170,13 +170,13 @@ static struct omap_rproc_platform_data omap4_rproc_data[] = { .name = "ducati-proc0", .ops = &omap4_ducati0_ops, .oh_name = "ipu_c0", - .timer_id = 3, + .timer_id = -1, }, { .name = "ducati-proc1", .ops = &omap4_ducati1_ops, .oh_name = "ipu_c1", - .timer_id = 4, + .timer_id = -1, }, }; |