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:
@@ -22,6 +22,7 @@
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <console/console.h>
|
||||
#include <uart8250.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
static void oxford_oxpcie_enable(device_t dev)
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <arch/io.h>
|
||||
#include <arch/early_variables.h>
|
||||
#include <delay.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#include <uart8250.h>
|
||||
#include <device/pci_def.h>
|
||||
|
||||
|
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
|
||||
static void pl011_uart_tx_byte(unsigned char data)
|
||||
{
|
||||
|
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#if CONFIG_USE_OPTION_TABLE
|
||||
#include <option.h>
|
||||
#include "option_table.h"
|
||||
|
Reference in New Issue
Block a user