summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2018-11-07 19:06:10 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-12-05 14:04:07 +0000
commit0b344eea4d93849b0f91cf2f2ef4baca2fc549dd (patch)
treeb59a1e4e01b57785b910565e1ceaaa12c0663ed1 /src/mainboard
parent7012a59fc71b130d1bad4a944beba552240ce31e (diff)
mb/lenovo/*/dsdt: Rearrange defines
Sort mainboard-specific defines in the same order as in all other Lenovo boards. This is a purely cosmetic change which just makes diff between boards smaller. Change-Id: I4e379bb727b356fc6010e93de492f6d73f97a750 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/29544 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/lenovo/l520/dsdt.asl3
-rw-r--r--src/mainboard/lenovo/s230u/dsdt.asl3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/l520/dsdt.asl b/src/mainboard/lenovo/l520/dsdt.asl
index a04f8529a6..ecd8f27bd3 100644
--- a/src/mainboard/lenovo/l520/dsdt.asl
+++ b/src/mainboard/lenovo/l520/dsdt.asl
@@ -11,11 +11,12 @@
* GNU General Public License for more details.
*/
+#define THINKPAD_EC_GPE 22
#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
-#define THINKPAD_EC_GPE 22
+
#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
diff --git a/src/mainboard/lenovo/s230u/dsdt.asl b/src/mainboard/lenovo/s230u/dsdt.asl
index 0b994c86da..cc9b7aab09 100644
--- a/src/mainboard/lenovo/s230u/dsdt.asl
+++ b/src/mainboard/lenovo/s230u/dsdt.asl
@@ -11,11 +11,12 @@
* GNU General Public License for more details.
*/
+#define THINKPAD_EC_GPE 23
#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
-#define THINKPAD_EC_GPE 23
+
#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",