Re: [PATCH 8/11] Compiling dsp-common if DSP is enabled.

Tony Lindgren
2007-05-29T16:55:28Z

* 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