summaryrefslogtreecommitdiffstats
path: root/board/mpl
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-08 23:47:45 -0700
committerSimon Glass <sjg@chromium.org>2015-11-19 20:27:50 -0700
commit24b852a7a2b8eca71789100983bdb5104cc00696 (patch)
treeaf9a9ed81d30180f9a9286ed504895c216e80229 /board/mpl
parent3884c98c32cd5fb5b5b42185d5d0575659434bbf (diff)
downloadblackbird-obmc-uboot-24b852a7a2b8eca71789100983bdb5104cc00696.tar.gz
blackbird-obmc-uboot-24b852a7a2b8eca71789100983bdb5104cc00696.zip
Move console definitions into a new console.h file
The console includes a global variable and several functions that are only used by a small subset of U-Boot files. Before adding more functions, move the definitions into their own header file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/mpl')
-rw-r--r--board/mpl/common/kbd.c1
-rw-r--r--board/mpl/pati/pati.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/mpl/common/kbd.c b/board/mpl/common/kbd.c
index 1da72c5398..36b169489e 100644
--- a/board/mpl/common/kbd.c
+++ b/board/mpl/common/kbd.c
@@ -8,6 +8,7 @@
* linux/drivers/char/pc_keyb.c
*/
#include <common.h>
+#include <console.h>
#include <asm/processor.h>
#include <stdio_dev.h>
#include "isa.h"
diff --git a/board/mpl/pati/pati.c b/board/mpl/pati/pati.c
index 958cdec136..ddc21083d8 100644
--- a/board/mpl/pati/pati.c
+++ b/board/mpl/pati/pati.c
@@ -29,6 +29,7 @@
**********************************************************************************/
#include <common.h>
+#include <console.h>
#include <mpc5xx.h>
#include <stdio_dev.h>
#include <pci_ids.h>
OpenPOWER on IntegriCloud