]> 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>
Wed, 7 Mar 2007 08:04:17 +0000 (00:04 -0800)
commitefc1f08a7fbc3adfbb66297f732b05997eb50d06
tree343f453661d640df9363f28a4236e2b0c8b85cca
parent988a9d6af464ba2425eb1db082d43416b8f88693
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