diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-08 23:47:45 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-11-19 20:27:50 -0700 |
commit | 24b852a7a2b8eca71789100983bdb5104cc00696 (patch) | |
tree | af9a9ed81d30180f9a9286ed504895c216e80229 /lib | |
parent | 3884c98c32cd5fb5b5b42185d5d0575659434bbf (diff) | |
download | u-boot-24b852a7a2b8eca71789100983bdb5104cc00696.tar.gz u-boot-24b852a7a2b8eca71789100983bdb5104cc00696.tar.bz2 u-boot-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 'lib')
-rw-r--r-- | lib/display_options.c | 1 | ||||
-rw-r--r-- | lib/gunzip.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/display_options.c b/lib/display_options.c index 83ea4decb5..4f2961fbfb 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 4128a1871c..bdd85c4c17 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> |