summaryrefslogtreecommitdiff
path: root/src/mainboard
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/mainboard
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/mainboard')
-rw-r--r--src/mainboard/cubietech/cubieboard/bootblock.c2
-rw-r--r--src/mainboard/ti/beaglebone/bootblock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/cubietech/cubieboard/bootblock.c b/src/mainboard/cubietech/cubieboard/bootblock.c
index 2e5929c019..e22c1d8cf8 100644
--- a/src/mainboard/cubietech/cubieboard/bootblock.c
+++ b/src/mainboard/cubietech/cubieboard/bootblock.c
@@ -7,7 +7,7 @@
*/
#include <arch/io.h>
-#include <uart.h>
+#include <console/uart.h>
#include <console/console.h>
#include <delay.h>
#include <cpu/allwinner/a10/gpio.h>
diff --git a/src/mainboard/ti/beaglebone/bootblock.c b/src/mainboard/ti/beaglebone/bootblock.c
index dd46040847..9e0a62e719 100644
--- a/src/mainboard/ti/beaglebone/bootblock.c
+++ b/src/mainboard/ti/beaglebone/bootblock.c
@@ -19,7 +19,7 @@
#include <arch/io.h>
#include <types.h>
-#include <uart.h>
+#include <console/uart.h>
#include <console/console.h>
#include <cpu/ti/am335x/pinmux.h>