summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-11-30 08:57:41 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-05 00:02:43 +0000
commitb9ba0d10a21eacdc9171eb02f4ce9a93401b7db9 (patch)
treebabbbc49acb4810b6063139b9ae3ab19d72137c5 /src
parent1e4c1590fb811ad067b8361fc7233b791ea7ab52 (diff)
mb/kontron/mal10: Remove unnecessary includes
Built with BUILD_TIMELESS=1, coreboot.rom remains the same. Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: Ibc6833d9256800d0e50651cac18a4e81ddbe6895 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48144 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/kontron/mal10/include/carrier/gpio.h1
-rw-r--r--src/mainboard/kontron/mal10/include/variant/gpio.h1
-rw-r--r--src/mainboard/kontron/mal10/ramstage.c1
-rw-r--r--src/mainboard/kontron/mal10/romstage.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/mainboard/kontron/mal10/include/carrier/gpio.h b/src/mainboard/kontron/mal10/include/carrier/gpio.h
index b8606f62a1..9466b24dba 100644
--- a/src/mainboard/kontron/mal10/include/carrier/gpio.h
+++ b/src/mainboard/kontron/mal10/include/carrier/gpio.h
@@ -4,7 +4,6 @@
#define CARRIER_GPIO_H
#include <gpio.h>
-#include <stddef.h>
/*
* Bidirectional GPIO port when both RX and TX buffer is enabled
diff --git a/src/mainboard/kontron/mal10/include/variant/gpio.h b/src/mainboard/kontron/mal10/include/variant/gpio.h
index 99cf35a037..a3ff7c0c31 100644
--- a/src/mainboard/kontron/mal10/include/variant/gpio.h
+++ b/src/mainboard/kontron/mal10/include/variant/gpio.h
@@ -4,7 +4,6 @@
#define VARIANT_GPIO_H
#include <gpio.h>
-#include <stddef.h>
void variant_early_gpio_configure(void);
diff --git a/src/mainboard/kontron/mal10/ramstage.c b/src/mainboard/kontron/mal10/ramstage.c
index 48194e6848..3d259d8ea7 100644
--- a/src/mainboard/kontron/mal10/ramstage.c
+++ b/src/mainboard/kontron/mal10/ramstage.c
@@ -2,7 +2,6 @@
#include <soc/ramstage.h>
#include <carrier/gpio.h>
-#include <stddef.h>
void mainboard_silicon_init_params(FSP_S_CONFIG *silconfig)
{
diff --git a/src/mainboard/kontron/mal10/romstage.c b/src/mainboard/kontron/mal10/romstage.c
index 9f1d7eb87d..dba78f7909 100644
--- a/src/mainboard/kontron/mal10/romstage.c
+++ b/src/mainboard/kontron/mal10/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <soc/romstage.h>
#include <FspmUpd.h>