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:
@@ -23,6 +23,7 @@
|
||||
#include <bootstate.h>
|
||||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
#include <console/cbmem_console.h>
|
||||
#include <arch/early_variables.h>
|
||||
#if CONFIG_HAVE_ACPI_RESUME && !defined(__PRE_RAM__)
|
||||
#include <arch/acpi.h>
|
||||
|
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <console/cbmem_console.h>
|
||||
#include <cbmem.h>
|
||||
#include <arch/early_variables.h>
|
||||
#include <string.h>
|
||||
|
@@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <console/uart.h>
|
||||
#include <ip_checksum.h>
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <string.h>
|
||||
|
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#include <uart8250.h>
|
||||
#include <trace.h>
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart.h>
|
||||
#include <uart8250.h>
|
||||
#include <device/device.h>
|
||||
#include <delay.h>
|
||||
|
Reference in New Issue
Block a user