summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ga-b75m-d3v/acpi
diff options
context:
space:
mode:
authorAlex James <theracermaster@gmail.com>2019-05-15 20:15:47 -0500
committerPatrick Georgi <pgeorgi@google.com>2019-05-16 20:19:24 +0000
commit25b35d317eef9ef5d73bbecc502fdac13a478bf6 (patch)
tree0f5f66b0e27ed3d396002841d5751d8e9b0395e8 /src/mainboard/gigabyte/ga-b75m-d3v/acpi
parentd9391837198d838d55ecf853ca70a675f9ca36aa (diff)
mb/gigabyte/ga-b75m-d3{h,v}: Various cleanups
- Enable LPC TPM support in Kconfig and add pc80/tpm to devicetree - Enable VBT support in Kconfig and add VBT files extracted from vendor firmware - Remove IGPU VBIOS entries from Kconfig - Remove unused PS2 definitions in superio.asl - Add PWRB ACPI device entry to mainboard.asl - Remove duplicate chipset register initialization from mainboard.c - Move ITE Super I/O configuration to mainboard_config_superio in romstage.c Signed-off-by: Alex James <theracermaster@gmail.com> Change-Id: I2d11c55dc809b920bccf55f5f745d9f29b18bbb6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32752 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/gigabyte/ga-b75m-d3v/acpi')
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3v/acpi/mainboard.asl23
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3v/acpi/platform.asl4
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3v/acpi/superio.asl4
3 files changed, 25 insertions, 6 deletions
diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/acpi/mainboard.asl b/src/mainboard/gigabyte/ga-b75m-d3v/acpi/mainboard.asl
new file mode 100644
index 0000000000..a1c79896d7
--- /dev/null
+++ b/src/mainboard/gigabyte/ga-b75m-d3v/acpi/mainboard.asl
@@ -0,0 +1,23 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2011 Google Inc.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; version 2 of
+ * the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+Scope (\_SB)
+{
+ Device (PWRB)
+ {
+ Name (_HID, EisaId ("PNP0C0C"))
+ }
+}
diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/acpi/platform.asl b/src/mainboard/gigabyte/ga-b75m-d3v/acpi/platform.asl
index d8d33208f8..10856d3394 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3v/acpi/platform.asl
+++ b/src/mainboard/gigabyte/ga-b75m-d3v/acpi/platform.asl
@@ -17,7 +17,7 @@
* entering a sleep state. The sleep state number is passed in Arg0
*/
-Method(_PTS,1)
+Method (_PTS, 1)
{
}
@@ -25,5 +25,5 @@ Method(_PTS,1)
Method(_WAK,1)
{
- Return(Package(){0,0})
+ Return (Package () {0, 0})
}
diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/acpi/superio.asl b/src/mainboard/gigabyte/ga-b75m-d3v/acpi/superio.asl
index 4c50b6c689..e69de29bb2 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3v/acpi/superio.asl
+++ b/src/mainboard/gigabyte/ga-b75m-d3v/acpi/superio.asl
@@ -1,4 +0,0 @@
-/* mainboard configuration */
-
-#define SIO_EC_ENABLE_PS2K // Enable PS/2 Keyboard
-#define SIO_ENABLE_PS2M // Enable PS/2 Mouse