Merge branch 'master' of git://git.denx.de/u-boot-sh
[oweals/u-boot.git] / arch / x86 / include / asm / arch-baytrail / acpi / platform.asl
1 /*
2  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <asm/acpi/statdef.asl>
8 #include <asm/arch/iomap.h>
9 #include <asm/arch/irq.h>
10
11 /*
12  * The _PTS method (Prepare To Sleep) is called before the OS is
13  * entering a sleep state. The sleep state number is passed in Arg0.
14  */
15 Method(_PTS, 1)
16 {
17 }
18
19 /* The _WAK method is called on system wakeup */
20 Method(_WAK, 1)
21 {
22         Return (Package() {0, 0})
23 }
24
25 /* ACPI global NVS */
26 #include "global_nvs.asl"
27
28 /* TODO: add CPU ASL support */
29
30 Scope (\_SB)
31 {
32         #include "southcluster.asl"
33
34         /* ACPI devices */
35         #include "gpio.asl"
36 }
37
38 /* Chipset specific sleep states */
39 #include "sleepstates.asl"