• David Brownell's avatar
    ARM: OMAP: abstract debug card setup (smc, leds) · f6049312
    David Brownell authored
    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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    f6049312
Makefile 482 Bytes
#
# Makefile for the linux kernel.
#

# Common support
obj-y := common.o sram.o sram-fn.o clock.o devices.o dma.o mux.o gpio.o \
	 usb.o fb.o
obj-m :=
obj-n :=
obj-  :=

obj-$(CONFIG_OMAP_32K_TIMER)	+= timer32k.o

# OCPI interconnect support for 1710, 1610 and 5912
obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o


obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
obj-$(CONFIG_OMAP_DEBUG_DEVICES) += debug-devices.o
obj-$(CONFIG_OMAP_DEBUG_LEDS) += debug-leds.o