89ab2503c9
Done with sed and God Lines. Only done for C-like code for now. Change-Id: I7b7670bb541cf4814fd4958d5c0d8c68cbee80c2 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40085 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
40 lines
960 B
Text
40 lines
960 B
Text
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* This file is part of the coreboot project. */
|
|
|
|
#define THINKPAD_EC_GPE 17
|
|
#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
|
|
#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
|
|
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
|
|
#define EC_LENOVO_H8_ME_WORKAROUND 1
|
|
|
|
#include <arch/acpi.h>
|
|
DefinitionBlock(
|
|
"dsdt.aml",
|
|
"DSDT",
|
|
0x02, // DSDT revision: ACPI v2.0 and up
|
|
OEM_ID,
|
|
ACPI_TABLE_CREATOR,
|
|
0x20110725 // OEM revision
|
|
)
|
|
{
|
|
#include <southbridge/intel/common/acpi/platform.asl>
|
|
|
|
#include "acpi/platform.asl"
|
|
|
|
// global NVS and variables
|
|
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
|
|
|
|
#include <cpu/intel/common/acpi/cpu.asl>
|
|
|
|
Scope (\_SB) {
|
|
Device (PCI0)
|
|
{
|
|
#include <northbridge/intel/sandybridge/acpi/sandybridge.asl>
|
|
#include <southbridge/intel/bd82x6x/acpi/pch.asl>
|
|
|
|
#include <drivers/intel/gma/acpi/default_brightness_levels.asl>
|
|
}
|
|
}
|
|
|
|
#include <southbridge/intel/common/acpi/sleepstates.asl>
|
|
}
|