src/drivers: Clean up includes

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: Ia40678019b2a54deb246dbfbf33ec37a8c3839e4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68206
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
This commit is contained in:
Elyes Haouas 2022-10-07 10:08:53 +02:00 committed by Felix Held
parent 04c3b5a016
commit 69451f17a1
6 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <stdint.h>
void intel_gmbus_read_edid(u8 *gmbus_mmio, u8 bus, u8 slave, u8 *edid, u32 edid_size); void intel_gmbus_read_edid(u8 *gmbus_mmio, u8 bus, u8 slave, u8 *edid, u32 edid_size);
void intel_gmbus_stop(u8 *gmbus_mmio); void intel_gmbus_stop(u8 *gmbus_mmio);

View File

@ -3,6 +3,7 @@
#include <console/console.h> #include <console/console.h>
#include <delay.h> #include <delay.h>
#include <mipi/panel.h> #include <mipi/panel.h>
#include <types.h>
enum cb_err mipi_panel_parse_init_commands(const void *buf, mipi_cmd_func_t cmd_func) enum cb_err mipi_panel_parse_init_commands(const void *buf, mipi_cmd_func_t cmd_func)
{ {

View File

@ -3,6 +3,7 @@
#include <arch/io.h> #include <arch/io.h>
#include <pc80/i8259.h> #include <pc80/i8259.h>
#include <console/console.h> #include <console/console.h>
#include <stdint.h>
/* Read the current PIC IRQ mask */ /* Read the current PIC IRQ mask */
u16 pic_read_irq_mask(void) u16 pic_read_irq_mask(void)

View File

@ -1,9 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <stdint.h>
#include <console/console.h> #include <console/console.h>
#include <pc80/mc146818rtc.h>
#include <fallback.h> #include <fallback.h>
#include <pc80/mc146818rtc.h>
#include <stdint.h>
#if CONFIG_MAX_REBOOT_CNT > 15 #if CONFIG_MAX_REBOOT_CNT > 15
#error "CONFIG_MAX_REBOOT_CNT too high" #error "CONFIG_MAX_REBOOT_CNT too high"

View File

@ -3,6 +3,7 @@
#include <console/console.h> #include <console/console.h>
#include <delay.h> #include <delay.h>
#include <spi_bitbang.h> #include <spi_bitbang.h>
#include <types.h>
/* Set to 1 to dump all SPI transfers to the UART. */ /* Set to 1 to dump all SPI transfers to the UART. */
#define TRACE 0 #define TRACE 0

View File

@ -2,7 +2,10 @@
#include <arch/io.h> #include <arch/io.h>
#include <boot/coreboot_tables.h> #include <boot/coreboot_tables.h>
#include <commonlib/bsd/helpers.h>
#include <console/uart.h> #include <console/uart.h>
#include <stdint.h>
#include "uart8250reg.h" #include "uart8250reg.h"
/* Should support 8250, 16450, 16550, 16550A type UARTs */ /* Should support 8250, 16450, 16550, 16550A type UARTs */