summaryrefslogtreecommitdiff
path: root/lib
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 /lib
parent3884c98c32cd5fb5b5b42185d5d0575659434bbf (diff)
downloadu-boot-imx-24b852a7a2b8eca71789100983bdb5104cc00696.zip
u-boot-imx-24b852a7a2b8eca71789100983bdb5104cc00696.tar.gz
u-boot-imx-24b852a7a2b8eca71789100983bdb5104cc00696.tar.bz2
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 'lib')
-rw-r--r--lib/display_options.c1
-rw-r--r--lib/gunzip.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/display_options.c b/lib/display_options.c
index 83ea4de..4f2961f 100644
--- a/lib/display_options.c
+++ b/lib/display_options.c
@@ -7,6 +7,7 @@
#include <config.h>
#include <common.h>
+#include <console.h>
#include <div64.h>
#include <inttypes.h>
#include <version.h>
diff --git a/lib/gunzip.c b/lib/gunzip.c
index 4128a18..bdd85c4 100644
--- a/lib/gunzip.c
+++ b/lib/gunzip.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <watchdog.h>
#include <command.h>
+#include <console.h>
#include <image.h>
#include <malloc.h>
#include <u-boot/zlib.h>