]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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, 5 Mar 2007 11:11:44 +0000 (03:11 -0800)
commit05f8596788cd181df91e5ce02ce279635bf9eb67
treea02ecdd7c4b55e269067cf700dd3d0d9b67e92bd
parentc805d339374ccbc24e771c3a14f18e90295a6ce8
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