omap4: multi-omap: Allow build to work
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 16 Feb 2010 13:59:20 +0000 (19:29 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 23 Feb 2010 18:57:40 +0000 (10:57 -0800)
commitae46ec77311b550be992339c1e01fc20bc65296e
tree133a2fec88b4fff204ab53538af585df50970842
parent83905c134571642d7e8a1e51ae9f26bd3a3ad82a
omap4: multi-omap: Allow build to work

The musb support is enabled in omap3 platforms. For omap4 only board
support is available and the driver still isn't supported.
Because of this build with omap3_defconfig used for multi-omap
doesn't work on omap4430 sdp.

This patch avoids usb_musb_init() by adding a cpu check
in the board file.

Thanks to Anand Gadiyar and Mankad Maulik for the suggestion
of patching board file instead of musb driver.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-4430sdp.c