diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2006-12-06 20:14:03 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2007-09-20 12:59:20 -0400 |
commit | f604931238dff7b44ef52ac2ad1f557e45b25b38 (patch) | |
tree | efcacb3d5a3449cb0557d1194b202de7823f2184 /arch/arm/plat-omap/Kconfig | |
parent | 1c22cc13256046162bb8e7b44763f6c39790af74 (diff) |
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>
Diffstat (limited to 'arch/arm/plat-omap/Kconfig')
-rw-r--r-- | arch/arm/plat-omap/Kconfig | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index cfc69f3842fd..c1f7e5a819a3 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig | |||
@@ -20,10 +20,15 @@ endchoice | |||
20 | 20 | ||
21 | comment "OMAP Feature Selections" | 21 | comment "OMAP Feature Selections" |
22 | 22 | ||
23 | config OMAP_DEBUG_LEDS | 23 | config OMAP_DEBUG_DEVICES |
24 | bool | 24 | bool |
25 | help | 25 | help |
26 | For debug card leds on TI reference boards. | 26 | For debug cards on TI reference boards. |
27 | |||
28 | config OMAP_DEBUG_LEDS | ||
29 | bool | ||
30 | depends on OMAP_DEBUG_DEVICES | ||
31 | default y if LEDS || LEDS_OMAP_DEBUG | ||
27 | 32 | ||
28 | config OMAP_RESET_CLOCKS | 33 | config OMAP_RESET_CLOCKS |
29 | bool "Reset unused clocks during boot" | 34 | bool "Reset unused clocks during boot" |