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 /drivers/net | |
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 'drivers/net')
-rw-r--r-- | drivers/net/e1000_spi.c | 1 | ||||
-rw-r--r-- | drivers/net/keystone_net.c | 1 | ||||
-rw-r--r-- | drivers/net/phy/phy.c | 1 | ||||
-rw-r--r-- | drivers/net/vsc7385.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/e1000_spi.c b/drivers/net/e1000_spi.c index e7f6826..df72375 100644 --- a/drivers/net/e1000_spi.c +++ b/drivers/net/e1000_spi.c @@ -1,4 +1,5 @@ #include <common.h> +#include <console.h> #include "e1000.h" #include <linux/compiler.h> diff --git a/drivers/net/keystone_net.c b/drivers/net/keystone_net.c index 5ed29ae..24ca52e 100644 --- a/drivers/net/keystone_net.c +++ b/drivers/net/keystone_net.c @@ -8,6 +8,7 @@ */ #include <common.h> #include <command.h> +#include <console.h> #include <net.h> #include <phy.h> diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 5633ec2..51b5746 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -11,6 +11,7 @@ #include <config.h> #include <common.h> +#include <console.h> #include <dm.h> #include <malloc.h> #include <net.h> diff --git a/drivers/net/vsc7385.c b/drivers/net/vsc7385.c index a5110e5..c6d6dce 100644 --- a/drivers/net/vsc7385.c +++ b/drivers/net/vsc7385.c @@ -14,6 +14,7 @@ #include <config.h> #include <common.h> +#include <console.h> #include <asm/io.h> #include <asm/errno.h> #include "vsc7385.h" |