Kconfig: rename BOOT_MEDIA_SPI_BUS to BOOT_DEVICE_SPI_FLASH_BUS
[coreboot.git] / src / mainboard / lenovo / t60 / dsdt.asl
blob684009ed2c8bc46619a774d674cc85de6a923a39
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2007-2009 coresystems GmbH
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; version 2 of
9  * the License.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  */
17 #define THINKPAD_EC_GPE 28
18 #define BRIGHTNESS_UP \BRTU
19 #define BRIGHTNESS_DOWN \BRTD
20 #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
22 DefinitionBlock(
23         "dsdt.aml",
24         "DSDT",
25         0x03,           // DSDT revision: ACPI v3.0
26         "COREv4",       // OEM id
27         "COREBOOT",     // OEM table id
28         0x20090419      // OEM revision
31         // Some generic macros
32         #include "acpi/platform.asl"
34         // global NVS and variables
35         #include <southbridge/intel/i82801gx/acpi/globalnvs.asl>
36         #include <southbridge/intel/common/acpi/platform.asl>
38         // General Purpose Events
39         #include "acpi/gpe.asl"
41         // mainboard specific devices
42         #include "acpi/mainboard.asl"
44         Scope (\)
45         {
46                 // backlight control, display switching, lid
47                 #include "acpi/video.asl"
48         }
50         #include <cpu/intel/common/acpi/cpu.asl>
52         Scope (\_SB) {
53                 Device (PCI0)
54                 {
55                         #include <northbridge/intel/i945/acpi/i945.asl>
56                         #include <southbridge/intel/i82801gx/acpi/ich7.asl>
57                 }
58         }
60         /* Chipset specific sleep states */
61         #include <southbridge/intel/i82801gx/acpi/sleepstates.asl>
63         // Dock support code
64         #include "acpi/dock.asl"