From 52e48b56e2c30b8d164cc3f6a308238de122e369 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 28 Jan 2021 17:03:19 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50080 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/soc/intel/broadwell/include/soc/chromeos.h | 8 ++++++++ src/soc/intel/broadwell/include/soc/gpio.h | 13 ------------- 2 files changed, 8 insertions(+), 13 deletions(-) create mode 100644 src/soc/intel/broadwell/include/soc/chromeos.h delete mode 100644 src/soc/intel/broadwell/include/soc/gpio.h (limited to 'src/soc') 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 - -#define CROS_GPIO_DEVICE_NAME "PCH-LP" -#define CROS_GPIO_ACPI_DEVICE_NAME "INT3437:00" - -#include - -#endif -- cgit v1.2.3