summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Jones <marcjones@sysproconsulting.com>2020-10-02 20:31:23 -0600
committerMarc Jones <marc@marcjonesconsulting.com>2020-10-06 17:43:38 +0000
commit882a5687e6b9c03e4ca3df63e67c6bc889e3609d (patch)
tree1c6c961b22738857c2ab84728d80d55db9824705
parent301c7e67bf7191358a8d2308e087dcd2f811427f (diff)
drivers/ipmi/ocp/ipmi_ocp.c: Clean up includes
Remove #include "chip.h", which is not needed and causes a build problem in a later change. Alphabetise the #includes. Add <types.h>. Change-Id: If19ccd144bd352a196adccd75f9f6f139eae4e4a Signed-off-by: Marc Jones <marcjones@sysproconsulting.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45968 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/drivers/ipmi/ocp/ipmi_ocp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/drivers/ipmi/ocp/ipmi_ocp.c b/src/drivers/ipmi/ocp/ipmi_ocp.c
index f96ce24cdd..07628ee1ff 100644
--- a/src/drivers/ipmi/ocp/ipmi_ocp.c
+++ b/src/drivers/ipmi/ocp/ipmi_ocp.c
@@ -7,14 +7,15 @@
* end
*/
+#include <arch/cpu.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pnp.h>
-#include <string.h>
+#include <drivers/ipmi/ipmi_kcs.h>
#include <intelblocks/cpulib.h>
-#include <arch/cpu.h>
-#include "chip.h"
-#include "drivers/ipmi/ipmi_kcs.h"
+#include <string.h>
+#include <types.h>
+
#include "ipmi_ocp.h"
static int ipmi_set_processor_information_param1(struct device *dev)