summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/pciehp.c
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2024-01-12 21:21:06 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-14 10:15:34 +0000
commitf4842bbc145da72c37321fed876b3140f79c6aa7 (patch)
treea62832fe92d0e5904a86837d22a041a5f49d49d4 /src/southbridge/intel/common/pciehp.c
parentd04378118d17abaf82cf03a9fd4abcfeb917badc (diff)
sb/intel: Use boolean for pcie_hotplug_map attribute
Change-Id: Ia5e1ee683fa3d8d216ece26426e9870981ede2ba Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79932 Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/common/pciehp.c')
-rw-r--r--src/southbridge/intel/common/pciehp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/intel/common/pciehp.c b/src/southbridge/intel/common/pciehp.c
index b5496192b0..d5766d8f90 100644
--- a/src/southbridge/intel/common/pciehp.c
+++ b/src/southbridge/intel/common/pciehp.c
@@ -4,10 +4,11 @@
#include <acpi/acpigen.h>
#include <device/device.h>
#include <device/pci.h>
+#include <stdbool.h>
#include "pciehp.h"
-void intel_acpi_pcie_hotplug_generator(u8 *hotplug_map, int port_number)
+void intel_acpi_pcie_hotplug_generator(bool *hotplug_map, int port_number)
{
int port;
int have_hotplug = 0;