ARM: OMAP: abstract debug card setup (smc, leds)
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 7 Dec 2006 01:14:03 +0000 (17:14 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 16 Apr 2007 20:54:24 +0000 (20:54 +0000)
commit2926b00469f270403aa3d87a1faf1dc54c6593b4
tree3883eda7e574fbc6d2a4dda3b68be0bb8f6c396c
parentc2efc46dbb13f6efea1f315c55091f9b41196db1
ARM: OMAP: abstract debug card setup (smc, leds)

Additional cleanup for debug boards on H2/P2/H3/H4:  move the init
code that's not board-specific into a new file where it can be easily
shared between all the different boards (avoiding code duplication,
and making it easier to support more devices).  Make H4 use that.

This should be easy to drop in to the OMAP1 boards using these debug
cards; the only difference seems to be that the p2 does an extra reset
of the smc using the fpga (probably all boards could do that, if it's
necessary) and doesn't use the gpio mux or request APIs.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/board-h4.c
arch/arm/plat-omap/Kconfig
arch/arm/plat-omap/Makefile
arch/arm/plat-omap/debug-devices.c [new file with mode: 0644]
include/asm-arm/arch-omap/board.h