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>
This commit is contained in:
Simon Glass
2015-11-08 23:47:45 -07:00
parent 3884c98c32
commit 24b852a7a2
100 changed files with 131 additions and 18 deletions

View File

@@ -6,6 +6,7 @@
#include <common.h>
#include <command.h>
#include <console.h>
#include <dm.h>
#include <errno.h>
#include <malloc.h>

View File

@@ -5,6 +5,7 @@
*/
#include <common.h>
#include <console.h>
#include <dm.h>
#include <usb.h>
#include <asm/io.h>