summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-01-28 17:03:19 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-15 08:53:49 +0000
commit52e48b56e2c30b8d164cc3f6a308238de122e369 (patch)
tree1a623f1338e74a38e747c92670cb6904cab89738 /src/soc/intel/broadwell
parent733f03d6f428c5f3a083b518b056bff5a3eeeb17 (diff)
broadwell boards: Switch to Lynxpoint GPIO headers
Move `CROS_GPIO_DEVICE_NAME` to a new `chromeos.h` header, because Lynxpoint uses a different value. Also drop unnecessary includes. Tested with BUILD_TIMELESS=1, Google Tidus remains identical. Change-Id: I38baed2c114fb93cfb82535a6ec00fb67e596d64 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50080 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/broadwell')
-rw-r--r--src/soc/intel/broadwell/include/soc/chromeos.h8
-rw-r--r--src/soc/intel/broadwell/include/soc/gpio.h13
2 files changed, 8 insertions, 13 deletions
diff --git a/src/soc/intel/broadwell/include/soc/chromeos.h b/src/soc/intel/broadwell/include/soc/chromeos.h
new file mode 100644
index 0000000000..0e3dda1b1f
--- /dev/null
+++ b/src/soc/intel/broadwell/include/soc/chromeos.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef _BROADWELL_CHROMEOS_H_
+#define _BROADWELL_CHROMEOS_H_
+
+#define CROS_GPIO_DEVICE_NAME "PCH-LP"
+
+#endif
diff --git a/src/soc/intel/broadwell/include/soc/gpio.h b/src/soc/intel/broadwell/include/soc/gpio.h
deleted file mode 100644
index 05f03ba239..0000000000
--- a/src/soc/intel/broadwell/include/soc/gpio.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef _BROADWELL_GPIO_H_
-#define _BROADWELL_GPIO_H_
-
-#include <stdint.h>
-
-#define CROS_GPIO_DEVICE_NAME "PCH-LP"
-#define CROS_GPIO_ACPI_DEVICE_NAME "INT3437:00"
-
-#include <southbridge/intel/lynxpoint/lp_gpio.h>
-
-#endif