ARM: OMAP2+: create dsp device only on OMAP3 SoCs
authorSuman Anna <s-anna@ti.com>
Tue, 24 Jun 2014 05:24:27 +0000 (00:24 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 7 Jul 2014 11:57:06 +0000 (04:57 -0700)
commit526570cb2067363ec93681837e43b4c774b1616c
treed2b15ea1b0a34fd506506a3f6e222ed71d8ed5ac
parente120fb459693bbc1ac3eabdd65c3659d7cfbfd2a
ARM: OMAP2+: create dsp device only on OMAP3 SoCs

The DSP platform device for TI DSP/Bridge is currently
created unconditionally whenever CONFIG_TIDSPBRIDGE is
enabled. This device should only be created on OMAP34xx/
OMAP36xx SoCs, and not for other OMAP3 derived SoCs or when
booting multi-arch images on other SoCs. So, add a check for
the SoC family both before creating the device and allocating
the carveout memory for the device.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/dsp.c
This page took 0.024893 seconds and 5 git commands to generate.