console: Fix includes
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 <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5232 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "uart.h"
|
||||
#include <arch/io.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#include <uart8250.h>
|
||||
|
||||
/**
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <types.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
#include <console/console.h>
|
||||
|
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <console/console.h> /* for __console definition */
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#include <arch/io.h>
|
||||
#include "uart.h"
|
||||
#include "clk.h"
|
||||
|
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <console/console.h> /* for __console definition */
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#include <arch/io.h>
|
||||
#include "uart.h"
|
||||
#include "clk.h"
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <types.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
#include <console/console.h> /* for __console definition */
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <console/console.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#include <uart8250.h>
|
||||
#include <console/vtxprintf.h>
|
||||
|
||||
|
Reference in New Issue
Block a user