diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-05-25 19:19:10 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-05-30 10:21:12 +0800 |
commit | 48cf8b834603253440496a2356d192f8e4138d14 (patch) | |
tree | 9a32f5ea7b7c72e3ad9fb50a1f19f92b41c79bf5 /arch/x86/include/asm/arch-quark/acpi/platform.asl | |
parent | ec3791322159accacb06213a660a63b9ffb84f31 (diff) | |
download | u-boot-imx-48cf8b834603253440496a2356d192f8e4138d14.zip u-boot-imx-48cf8b834603253440496a2356d192f8e4138d14.tar.gz u-boot-imx-48cf8b834603253440496a2356d192f8e4138d14.tar.bz2 |
x86: quark: Add platform ASL files
This adds basic quark platform ASL files. They are intended to be
included in dsdt.asl of any board that is based on this platform.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/arch-quark/acpi/platform.asl')
-rw-r--r-- | arch/x86/include/asm/arch-quark/acpi/platform.asl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-quark/acpi/platform.asl b/arch/x86/include/asm/arch-quark/acpi/platform.asl new file mode 100644 index 0000000..bd72842 --- /dev/null +++ b/arch/x86/include/asm/arch-quark/acpi/platform.asl @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <asm/acpi/statdef.asl> +#include <asm/arch/iomap.h> +#include <asm/arch/irq.h> + +/* + * The _PTS method (Prepare To Sleep) is called before the OS is + * entering a sleep state. The sleep state number is passed in Arg0. + */ +Method(_PTS, 1) +{ +} + +/* The _WAK method is called on system wakeup */ +Method(_WAK, 1) +{ + Return (Package() {0, 0}) +} + +/* TODO: add CPU ASL support */ + +Scope (\_SB) +{ + #include "southcluster.asl" +} + +/* Chipset specific sleep states */ +#include "sleepstates.asl" |