summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-10 08:50:22 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-12 03:33:14 +0000
commit357c229173a39bcce2cf619b4db353fb067568a6 (patch)
tree1398bcd95582c4e1772e7e48a3867413acf49b39
parent3504918b43544a0f8b79881e4e67b6badfecd08a (diff)
sb/intel/i82801dx: Clean up includes
Change-Id: Ib8bfafe9b359856ccfb11a70ab5a6c1ffd453c54 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69440 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--src/southbridge/intel/i82801dx/ac97.c6
-rw-r--r--src/southbridge/intel/i82801dx/i82801dx.c2
-rw-r--r--src/southbridge/intel/i82801dx/ide.c2
-rw-r--r--src/southbridge/intel/i82801dx/lpc.c6
4 files changed, 12 insertions, 4 deletions
diff --git a/src/southbridge/intel/i82801dx/ac97.c b/src/southbridge/intel/i82801dx/ac97.c
index bca35eb7c9..c30c5ef317 100644
--- a/src/southbridge/intel/i82801dx/ac97.c
+++ b/src/southbridge/intel/i82801dx/ac97.c
@@ -1,12 +1,14 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <arch/io.h>
#include <console/console.h>
+#include <delay.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include <arch/io.h>
#include <device/pci_ops.h>
-#include <delay.h>
+#include <stdint.h>
+
#include "i82801dx.h"
#define NAMBAR 0x10
diff --git a/src/southbridge/intel/i82801dx/i82801dx.c b/src/southbridge/intel/i82801dx/i82801dx.c
index 921cb1c8aa..ea906561a6 100644
--- a/src/southbridge/intel/i82801dx/i82801dx.c
+++ b/src/southbridge/intel/i82801dx/i82801dx.c
@@ -3,6 +3,8 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
+#include <stdint.h>
+
#include "i82801dx.h"
void i82801dx_enable(struct device *dev)
diff --git a/src/southbridge/intel/i82801dx/ide.c b/src/southbridge/intel/i82801dx/ide.c
index a54e49781e..c439ffeb1e 100644
--- a/src/southbridge/intel/i82801dx/ide.c
+++ b/src/southbridge/intel/i82801dx/ide.c
@@ -5,6 +5,8 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
+#include <stdint.h>
+
#include "chip.h"
#include "i82801dx.h"
diff --git a/src/southbridge/intel/i82801dx/lpc.c b/src/southbridge/intel/i82801dx/lpc.c
index 1569c1c14b..c8447352a8 100644
--- a/src/southbridge/intel/i82801dx/lpc.c
+++ b/src/southbridge/intel/i82801dx/lpc.c
@@ -9,9 +9,11 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <option.h>
-#include <pc80/mc146818rtc.h>
-#include <pc80/isa-dma.h>
#include <pc80/i8259.h>
+#include <pc80/isa-dma.h>
+#include <pc80/mc146818rtc.h>
+#include <types.h>
+
#include "chip.h"
#include "i82801dx.h"