Michael Niewöhner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/48144 )
Change subject: mb/kontron/mal10: Remove unnecessary includes ......................................................................
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 --- M src/mainboard/kontron/mal10/include/carrier/gpio.h M src/mainboard/kontron/mal10/include/variant/gpio.h M src/mainboard/kontron/mal10/ramstage.c M src/mainboard/kontron/mal10/romstage.c 4 files changed, 0 insertions(+), 4 deletions(-)
Approvals: build bot (Jenkins): Verified Frans Hendriks: Looks good to me, approved Michael Niewöhner: Looks good to me, approved
diff --git a/src/mainboard/kontron/mal10/include/carrier/gpio.h b/src/mainboard/kontron/mal10/include/carrier/gpio.h index b8606f6..9466b24 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 99cf35a..a3ff7c0 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 48194e6..3d259d8 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 9f1d7eb..dba78f7 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>