* [PATCH 8/11] Compiling dsp-common if DSP is enabled.
@ 2007-05-29 6:22 Syed Mohammed, Khasim
2007-05-29 16:55 ` Tony Lindgren
0 siblings, 1 reply; 4+ messages in thread
From: Syed Mohammed, Khasim @ 2007-05-29 6:22 UTC (permalink / raw)
To: Linux OMAP
Compile dsp_common only if DSP is enabled.
Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com>
Files Changed:
Makefile | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
=======================================================================
diff -purN linux-omap/arch/arm/plat-omap/dsp/Makefile val_3430_GIT/arch/arm/plat-omap/dsp/Makefile
--- linux-omap/arch/arm/plat-omap/dsp/Makefile 2006-11-20 21:54:05.000000000 -0600
+++ val_3430_GIT/arch/arm/plat-omap/dsp/Makefile 2007-05-28 13:30:09.000000000 -0500
@@ -4,7 +4,7 @@
# The target object and module list name.
-obj-y := dsp_common.o
+obj-$(CONFIG_OMAP_DSP) := dsp_common.o
obj-$(CONFIG_OMAP_DSP) += dsp.o
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 8/11] Compiling dsp-common if DSP is enabled.
2007-05-29 6:22 [PATCH 8/11] Compiling dsp-common if DSP is enabled Syed Mohammed, Khasim
@ 2007-05-29 16:55 ` Tony Lindgren
2007-05-29 17:02 ` Woodruff, Richard
0 siblings, 1 reply; 4+ messages in thread
From: Tony Lindgren @ 2007-05-29 16:55 UTC (permalink / raw)
To: Syed Mohammed, Khasim; +Cc: Linux OMAP
* Syed Mohammed, Khasim <x0khasim@ti.com> [070528 23:22]:
>
> Compile dsp_common only if DSP is enabled.
>
> Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com>
>
> Files Changed:
> Makefile | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> =======================================================================
> diff -purN linux-omap/arch/arm/plat-omap/dsp/Makefile val_3430_GIT/arch/arm/plat-omap/dsp/Makefile
> --- linux-omap/arch/arm/plat-omap/dsp/Makefile 2006-11-20 21:54:05.000000000 -0600
> +++ val_3430_GIT/arch/arm/plat-omap/dsp/Makefile 2007-05-28 13:30:09.000000000 -0500
> @@ -4,7 +4,7 @@
>
> # The target object and module list name.
>
> -obj-y := dsp_common.o
> +obj-$(CONFIG_OMAP_DSP) := dsp_common.o
>
> obj-$(CONFIG_OMAP_DSP) += dsp.o
We should compile DSP for omap1 (and aybe 24xx?) to keep
audio McBSP clock functioning. And eventually we should have common
dsp init that works for all of them.
What if you just add an early return to dsp init code for now with
a revisit comment?
Regards,
Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 8/11] Compiling dsp-common if DSP is enabled.
2007-05-29 16:55 ` Tony Lindgren
@ 2007-05-29 17:02 ` Woodruff, Richard
2007-05-29 17:08 ` Tony Lindgren
0 siblings, 1 reply; 4+ messages in thread
From: Woodruff, Richard @ 2007-05-29 17:02 UTC (permalink / raw)
To: Tony Lindgren, Syed Mohammed, Khasim; +Cc: Linux OMAP
> We should compile DSP for omap1 (and aybe 24xx?) to keep
> audio McBSP clock functioning. And eventually we should have common
> dsp init that works for all of them.
>
> What if you just add an early return to dsp init code for now with
> a revisit comment?
The McBSP clocks in OMAP2 have no coupling to the DSP as they did in OMAP1. In 1510's systems there was some ownership which required you to mess in the DSP address space. This is not there in OMAP2/3.
Depending on the overall system architecture you might very well have the DSP driving a McBSP directly but that is another issue.
... How does DSP gateway share or allocate resources, like a McBSP away from the ARM? Is this static? Does it even make sense to declare it as some sort of platform resource?
Regards,
Richard W.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 8/11] Compiling dsp-common if DSP is enabled.
2007-05-29 17:02 ` Woodruff, Richard
@ 2007-05-29 17:08 ` Tony Lindgren
0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2007-05-29 17:08 UTC (permalink / raw)
To: Woodruff, Richard; +Cc: Linux OMAP
* Woodruff, Richard <r-woodruff2@ti.com> [070529 10:02]:
> > We should compile DSP for omap1 (and aybe 24xx?) to keep
> > audio McBSP clock functioning. And eventually we should have common
> > dsp init that works for all of them.
> >
> > What if you just add an early return to dsp init code for now with
> > a revisit comment?
>
> The McBSP clocks in OMAP2 have no coupling to the DSP as they did in OMAP1. In 1510's systems there was some ownership which required you to mess in the DSP address space. This is not there in OMAP2/3.
>
> Depending on the overall system architecture you might very well have the DSP driving a McBSP directly but that is another issue.
>
> ... How does DSP gateway share or allocate resources, like a McBSP away from the ARM? Is this static? Does it even make sense to declare it as some sort of platform resource?
The basic DSP resources should be shared across dspgateway and
TI's bridge. Then the rest can go to drivers/dsp/omap/dspgateway and
drivers/dsp/omap/dspbridge or someting.
Regards,
Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-05-29 17:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-29 6:22 [PATCH 8/11] Compiling dsp-common if DSP is enabled Syed Mohammed, Khasim
2007-05-29 16:55 ` Tony Lindgren
2007-05-29 17:02 ` Woodruff, Richard
2007-05-29 17:08 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox