TI Config option for OMAP3 Power Management Signed-off-by: Karthik Dasu <karthik-dp@xxxxxx> Acked-by: Richard Woodruff <r-woodruff2@xxxxxx> Acked-by: Vikram Pandita <vikram.pandita@xxxxxx> --- arch/arm/mach-omap2/Kconfig | 5 +++++ arch/arm/mach-omap2/Makefile | 18 ++++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) Index: git-latest5/arch/arm/mach-omap2/Kconfig =================================================================== --- git-latest5.orig/arch/arm/mach-omap2/Kconfig 2008-02-29 21:54:23.453986667 +0530 +++ git-latest5/arch/arm/mach-omap2/Kconfig 2008-02-29 21:54:26.643883754 +0530 @@ -115,3 +115,8 @@ config MACH_OMAP_2430OSK bool "OMAP 2430 OSK board" depends on ARCH_OMAP2 && ARCH_OMAP24XX + +config OMAP3_PM + bool "Enable TI OMAP Power Management" + depends on ARCH_OMAP3 + default n Index: git-latest5/arch/arm/mach-omap2/Makefile =================================================================== --- git-latest5.orig/arch/arm/mach-omap2/Makefile 2008-02-29 21:54:23.453986667 +0530 +++ git-latest5/arch/arm/mach-omap2/Makefile 2008-02-29 21:54:26.643883754 +0530 @@ -3,15 +3,25 @@ # # Common support -obj-y := irq.o id.o io.o sram-fn.o memory.o control.o prcm.o clock.o mux.o \ +obj-y := irq.o id.o io.o memory.o control.o mux.o \ devices.o serial.o gpmc.o timer-gp.o -# Power Management -obj-$(CONFIG_PM) += pm.o sleep.o +ifeq ($(CONFIG_OMAP3_PM),) + obj-y += prcm.o clock.o sram-fn.o + # Clock framework + obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o + # Power Management + obj-$(CONFIG_PM) += pm.o sleep.o +else + obj-y += prcm_34xx.o clock_34xx.o sram-fn_34xx.o + # Power Management + obj-$(CONFIG_PM) += pm_34xx.o sleep_34xx.o +endif + # Clock framework obj-$(CONFIG_ARCH_OMAP2) += clock24xx.o -obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o + # DSP obj-$(CONFIG_OMAP_MMU_FWK) += mmu_mach.o -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html