]> 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>
Tue, 5 Jun 2007 07:57:36 +0000 (00:57 -0700)
commit2d8e80f5bf9b4584d58e2dd890310925dda3dbe9
tree55289005c42541286b3755d0b608987ea9a189bf
parent2e28f326e640135acc8408ef4d102bc4a21b8bc6
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