From 2c1894ed9aaeed06dfb1b89c2dc56af3e67440da Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 15 Jun 2009 00:08:25 +0000 Subject: [PATCH] goldfish: add missing kernel config options for power management SVN-Revision: 16466 --- target/linux/goldfish/config-2.6.30 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/target/linux/goldfish/config-2.6.30 b/target/linux/goldfish/config-2.6.30 index 251ab492ce..a238a34190 100644 --- a/target/linux/goldfish/config-2.6.30 +++ b/target/linux/goldfish/config-2.6.30 @@ -1,5 +1,6 @@ CONFIG_AEABI=y CONFIG_ALIGNMENT_TRAP=y +# CONFIG_APM_EMULATION is not set CONFIG_ARCH_GOLDFISH=y # CONFIG_ARCH_HAS_HOLES_MEMORYMODEL is not set # CONFIG_ARCH_HAS_ILOG2_U32 is not set @@ -20,6 +21,7 @@ CONFIG_BITREVERSE=y CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 # CONFIG_BOOT_PRINTK_DELAY is not set CONFIG_CMDLINE="console=/dev/ttyS0 root=mtdblock0 rootdelay=1 rootfstype=yaffs2" +# CONFIG_CONSOLE_EARLYSUSPEND is not set CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_CPU_32=y CONFIG_CPU_32v5=y @@ -70,6 +72,7 @@ CONFIG_DETECT_SOFTLOCKUP=y CONFIG_DEVKMEM=y # CONFIG_DM9000 is not set CONFIG_DUMMY_CONSOLE=y +CONFIG_EARLYSUSPEND=y # CONFIG_FAULT_INJECTION is not set CONFIG_FB=y # CONFIG_FB_BACKLIGHT is not set @@ -80,6 +83,7 @@ CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_IMAGEBLIT=y # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set # CONFIG_FB_DDC is not set +CONFIG_FB_EARLYSUSPEND=y # CONFIG_FB_FOREIGN_ENDIAN is not set CONFIG_FB_GOLDFISH=y # CONFIG_FB_MACMODES is not set @@ -102,6 +106,7 @@ CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y CONFIG_FRAME_POINTER=y +CONFIG_FREEZER=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_GENERIC_FIND_LAST_BIT=y @@ -111,8 +116,10 @@ CONFIG_GOLDFISH_TTY=y # CONFIG_HAMRADIO is not set CONFIG_HARDIRQS_SW_RESEND=y CONFIG_HAS_DMA=y +CONFIG_HAS_EARLYSUSPEND=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y +CONFIG_HAS_WAKELOCK=y CONFIG_HAVE_AOUT=y CONFIG_HAVE_ARCH_KGDB=y CONFIG_HAVE_FUNCTION_TRACER=y @@ -165,6 +172,7 @@ CONFIG_MTD_UBI_GLUEBI=y CONFIG_MTD_UBI_WL_THRESHOLD=4096 # CONFIG_NETDEV_1000 is not set # CONFIG_NO_IOPORT is not set +# CONFIG_NO_USER_SPACE_SCREEN_ACCESS_CONTROL is not set # CONFIG_OABI_COMPAT is not set # CONFIG_OUTER_CACHE is not set CONFIG_PAGEFLAGS_EXTENDED=y @@ -172,12 +180,18 @@ CONFIG_PAGE_OFFSET=0xC0000000 # CONFIG_PAGE_POISONING is not set # CONFIG_PCI_SYSCALL is not set # CONFIG_PDA_POWER is not set +CONFIG_PM=y +# CONFIG_PM_DEBUG is not set +CONFIG_PM_SLEEP=y CONFIG_POWER_SUPPLY=y # CONFIG_POWER_SUPPLY_DEBUG is not set # CONFIG_PROVE_LOCKING is not set CONFIG_QEMU_TRACE=y # CONFIG_RCU_TORTURE_TEST is not set # CONFIG_RD_LZMA is not set +CONFIG_RTC_CLASS=y +# CONFIG_RTC_DRV_CMOS is not set +CONFIG_RTC_DRV_GOLDFISH=y # CONFIG_RT_MUTEX_TESTER is not set # CONFIG_SCHEDSTATS is not set CONFIG_SCHED_DEBUG=y @@ -186,6 +200,8 @@ CONFIG_SCHED_DEBUG=y # CONFIG_SLOW_WORK is not set CONFIG_SMC91X=y CONFIG_SPLIT_PTLOCK_CPUS=4096 +CONFIG_SUSPEND=y +CONFIG_SUSPEND_FREEZER=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_TICK_ONESHOT=y # CONFIG_TIMER_STATS is not set @@ -205,6 +221,7 @@ CONFIG_TRACING_SUPPORT=y # CONFIG_UBIFS_FS is not set CONFIG_UEVENT_HELPER_PATH="" CONFIG_UID16=y +CONFIG_USER_WAKELOCK=y CONFIG_VECTORS_BASE=0xffff0000 CONFIG_VFP=y # CONFIG_VGA_CONSOLE is not set @@ -212,6 +229,8 @@ CONFIG_VIDEO_OUTPUT_CONTROL=y CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_VT_HW_CONSOLE_BINDING=y +CONFIG_WAKELOCK=y +CONFIG_WAKELOCK_STAT=y # CONFIG_WATCHDOG is not set CONFIG_ZBOOT_ROM_BSS=0 CONFIG_ZBOOT_ROM_TEXT=0 -- 2.30.2