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 /examples | |
parent | 3884c98c32cd5fb5b5b42185d5d0575659434bbf (diff) | |
download | u-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 'examples')
-rw-r--r-- | examples/standalone/mem_to_mem_idma2intr.c | 1 | ||||
-rw-r--r-- | examples/standalone/smc911x_eeprom.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/standalone/mem_to_mem_idma2intr.c b/examples/standalone/mem_to_mem_idma2intr.c index 215dc22..17da8db 100644 --- a/examples/standalone/mem_to_mem_idma2intr.c +++ b/examples/standalone/mem_to_mem_idma2intr.c @@ -28,6 +28,7 @@ #include <common.h> +#include <console.h> #include <exports.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/examples/standalone/smc911x_eeprom.c b/examples/standalone/smc911x_eeprom.c index 6c79c5f..364ad2d 100644 --- a/examples/standalone/smc911x_eeprom.c +++ b/examples/standalone/smc911x_eeprom.c @@ -15,6 +15,7 @@ */ #include <common.h> +#include <console.h> #include <exports.h> #include <linux/ctype.h> #include "../drivers/net/smc911x.h" |