forked from Minki/linux
1835f1d720
Some register offsets are different for 242x and 243x. This will allow compiling sleep code for both chips into the same kernel. Pass the addresses for SDRC_DDLA_CTRL and SDRC_POWER to the omap24xx_cpu_suspend instead of loading the values since the only. Also fix a bug to call omap2_sram_suspend with the value of SDRC_DLLA_CTRL instead of the address as that's what omap24xx_cpu_suspend expects to determine between DDR and SDR. This bug has not been noticed as the boards seem to have DDR instead of SDR. Note that some PM patches are still missing. The PM patches will be added later on once the base files are in sync with linux-omap tree. Signed-off-by: Tony Lindgren <tony@atomide.com>
32 lines
780 B
Makefile
32 lines
780 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Common support
|
|
obj-y := irq.o id.o io.o memory.o control.o prcm.o clock.o mux.o \
|
|
devices.o serial.o gpmc.o timer-gp.o powerdomain.o \
|
|
clockdomain.o
|
|
|
|
obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
|
|
|
|
# Functions loaded to SRAM
|
|
obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o
|
|
obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o
|
|
|
|
# Power Management
|
|
ifeq ($(CONFIG_PM),y)
|
|
obj-y += pm.o
|
|
obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o
|
|
endif
|
|
|
|
# Clock framework
|
|
obj-$(CONFIG_ARCH_OMAP2) += clock24xx.o
|
|
obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o
|
|
|
|
# Specific board support
|
|
obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
|
|
obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
|
|
obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o
|
|
obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
|
|
|