diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:24 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:23:11 -0500 |
commit | b03e0510d769381ce3cda5a494889bfee5042c59 (patch) | |
tree | cb474a50859f50c473d2222002a798a4dfe4ed74 /common | |
parent | f516fd99ec59d964836906c8ac370f246d60c14d (diff) | |
download | u-boot-b03e0510d769381ce3cda5a494889bfee5042c59.zip u-boot-b03e0510d769381ce3cda5a494889bfee5042c59.tar.gz u-boot-b03e0510d769381ce3cda5a494889bfee5042c59.tar.bz2 |
common: Move serial functions out of common.h
These functions belong in serial.h so move them over.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/board_f.c | 1 | ||||
-rw-r--r-- | common/kgdb_stubs.c | 1 | ||||
-rw-r--r-- | common/lcd_console.c | 1 | ||||
-rw-r--r-- | common/spl/spl.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c index e3591cb..0104445 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -26,6 +26,7 @@ #include <os.h> #include <post.h> #include <relocate.h> +#include <serial.h> #ifdef CONFIG_SPL #include <spl.h> #endif diff --git a/common/kgdb_stubs.c b/common/kgdb_stubs.c index 5278209..afa7d64 100644 --- a/common/kgdb_stubs.c +++ b/common/kgdb_stubs.c @@ -9,6 +9,7 @@ #include <common.h> #include <kgdb.h> +#include <serial.h> int (*debugger_exception_handler)(struct pt_regs *); diff --git a/common/lcd_console.c b/common/lcd_console.c index 7d1f883..d34bc2f 100644 --- a/common/lcd_console.c +++ b/common/lcd_console.c @@ -8,6 +8,7 @@ #include <common.h> #include <lcd.h> +#include <serial.h> #include <video_font.h> /* Get font data, width and height */ #if defined(CONFIG_LCD_LOGO) #include <bmp_logo.h> diff --git a/common/spl/spl.c b/common/spl/spl.c index a2ef13a..82fd54c 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -11,6 +11,7 @@ #include <binman_sym.h> #include <dm.h> #include <handoff.h> +#include <serial.h> #include <spl.h> #include <asm/u-boot.h> #include <nand.h> |