config ADK_KERNEL_PM_RUNTIME
	boolean
	default y if ADK_TARGET_SYSTEM_CUBOX_I

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_RUNTIME
	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_IBM_X40
	default n
	help
	 Enable ACPI support.

config ADK_KERNEL_SUSPEND
	prompt "Enable Suspend-to-RAM support"
	boolean
	select ADK_KERNEL_PM_RUNTIME
	default y if ADK_TARGET_SYSTEM_IBM_X40
	default y if ADK_TARGET_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_RUNTIME
	select ADK_KERNEL_SWAP
	select BUSYBOX_SWAPONOFF
	default y if ADK_TARGET_SYSTEM_IBM_X40
	default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
	default n
	help
	  Enable Suspend-to-Disk support.

endmenu
