summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-17 21:34:42 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-03-04 15:26:08 +0100
commit1d7541feeba372ec3d1d441442238e1c65972bd7 (patch)
tree03e53d513aa89deaf15e2751cd247cc9cb3d7037 /src/cpu
parent7e75f20477511c48f47416caed7301e852165a7f (diff)
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>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/allwinner/a10/uart.c2
-rw-r--r--src/cpu/allwinner/a10/uart_console.c2
-rw-r--r--src/cpu/samsung/exynos5250/uart.c2
-rw-r--r--src/cpu/samsung/exynos5420/uart.c2
-rw-r--r--src/cpu/ti/am335x/uart.c2
-rw-r--r--src/cpu/x86/smm/smiutil.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/cpu/allwinner/a10/uart.c b/src/cpu/allwinner/a10/uart.c
index 990026be26..10ea09af32 100644
--- a/src/cpu/allwinner/a10/uart.c
+++ b/src/cpu/allwinner/a10/uart.c
@@ -7,7 +7,7 @@
#include "uart.h"
#include <arch/io.h>
-#include <uart.h>
+#include <console/uart.h>
#include <uart8250.h>
/**
diff --git a/src/cpu/allwinner/a10/uart_console.c b/src/cpu/allwinner/a10/uart_console.c
index f7bd3c6dc6..af66cb7f6b 100644
--- a/src/cpu/allwinner/a10/uart_console.c
+++ b/src/cpu/allwinner/a10/uart_console.c
@@ -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>
diff --git a/src/cpu/samsung/exynos5250/uart.c b/src/cpu/samsung/exynos5250/uart.c
index 10108a8139..c9d8d252ad 100644
--- a/src/cpu/samsung/exynos5250/uart.c
+++ b/src/cpu/samsung/exynos5250/uart.c
@@ -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"
diff --git a/src/cpu/samsung/exynos5420/uart.c b/src/cpu/samsung/exynos5420/uart.c
index 2ca8271eac..f9dd26837f 100644
--- a/src/cpu/samsung/exynos5420/uart.c
+++ b/src/cpu/samsung/exynos5420/uart.c
@@ -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"
diff --git a/src/cpu/ti/am335x/uart.c b/src/cpu/ti/am335x/uart.c
index 719215ec8c..f6f1a8d137 100644
--- a/src/cpu/ti/am335x/uart.c
+++ b/src/cpu/ti/am335x/uart.c
@@ -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 */
diff --git a/src/cpu/x86/smm/smiutil.c b/src/cpu/x86/smm/smiutil.c
index a50a16ab4d..98ef223073 100644
--- a/src/cpu/x86/smm/smiutil.c
+++ b/src/cpu/x86/smm/smiutil.c
@@ -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>