From 1d7541feeba372ec3d1d441442238e1c65972bd7 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Mon, 17 Feb 2014 21:34:42 +0200 Subject: console: Fix includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not pull in console hw-specific prototypes everywhere with console.h as those are not needed for higher levels. Move prototypes for UARTs next to other consoles. Change-Id: Icbc9cd3e5bdfdab85d7dccd7c3827bba35248fb8 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5232 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- src/arch/x86/lib/romstage_console.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/arch/x86/lib/romstage_console.c') diff --git a/src/arch/x86/lib/romstage_console.c b/src/arch/x86/lib/romstage_console.c index 4ef702f603..4981f39ee7 100644 --- a/src/arch/x86/lib/romstage_console.c +++ b/src/arch/x86/lib/romstage_console.c @@ -19,20 +19,16 @@ #include #include +#include +#include +#include +#include +#include #include #if CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM #include #endif -#if CONFIG_USBDEBUG -#include -#endif -#if CONFIG_CONSOLE_NE2K -#include -#endif -#if CONFIG_SPKMODEM -#include -#endif void console_tx_byte(unsigned char byte) { -- cgit v1.2.3