config ADK_KERNEL_PM
	boolean

config ADK_KERNEL_ACPI
	boolean

config ADK_KERNEL_ACPI_SYSFS_POWER
	boolean

config ADK_KERNEL_ACPI_AC
	boolean

config ADK_KERNEL_ACPI_BATTERY
	boolean

config ADK_KERNEL_ACPI_BUTTON
	boolean

config ADK_KERNEL_ACPI_FAN
	boolean

config ADK_KERNEL_ACPI_DOCK
	boolean

menu "Power Management support"
depends on ADK_TARGET_WITH_ACPI || ADK_TARGET_SYSTEM_LEMOTE_YEELONG

config ADK_HARDWARE_ACPI
	prompt "Enable ACPI support"
	boolean
	select ADK_KERNEL_PM
	select ADK_KERNEL_ACPI
	select ADK_KERNEL_ACPI_SYSFS_POWER
	select ADK_KERNEL_ACPI_AC
	select ADK_KERNEL_ACPI_BATTERY
	select ADK_KERNEL_ACPI_BUTTON
	select ADK_KERNEL_ACPI_FAN
	select ADK_KERNEL_ACPI_DOCK
	default y if ADK_TARGET_SYSTEM_INTEL_ATOM
	default y if ADK_NATIVE_SYSTEM_INTEL_ATOM
	default y if ADK_TARGET_SYSTEM_IBM_X40
	default y if ADK_NATIVE_SYSTEM_IBM_X40
	default y if ADK_TARGET_SYSTEM_TAROX_PC
	default y if ADK_NATIVE_SYSTEM_TAROX_PC
	default n
	help
	 Enable ACPI support.

config ADK_KERNEL_SUSPEND
	prompt "Enable Suspend-to-RAM support"
	boolean
	select ADK_KERNEL_PM
	default y if ADK_TARGET_SYSTEM_INTEL_ATOM
	default y if ADK_NATIVE_SYSTEM_INTEL_ATOM
	default y if ADK_TARGET_SYSTEM_IBM_X40
	default y if ADK_NATIVE_SYSTEM_IBM_X40
	default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
	default y if ADK_NATIVE_SYSTEM_LEMOTE_YEELONG
	default n
	help
	  Enable Suspend-to-RAM support.

config ADK_KERNEL_HIBERNATION
	prompt "Enable Suspend-to-Disk support"
	boolean
	select ADK_KERNEL_PM
	select ADK_KERNEL_SWAP
	select BUSYBOX_SWAPONOFF
	default y if ADK_TARGET_SYSTEM_INTEL_ATOM
	default y if ADK_NATIVE_SYSTEM_INTEL_ATOM
	default y if ADK_TARGET_SYSTEM_IBM_X40
	default y if ADK_NATIVE_SYSTEM_IBM_X40
	default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
	default y if ADK_NATIVE_SYSTEM_LEMOTE_YEELONG
	default n
	help
	  Enable Suspend-to-Disk support.

endmenu
