summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-08 23:47:45 -0700
committerSimon Glass <sjg@chromium.org>2015-11-19 20:27:50 -0700
commit24b852a7a2b8eca71789100983bdb5104cc00696 (patch)
treeaf9a9ed81d30180f9a9286ed504895c216e80229 /include/common.h
parent3884c98c32cd5fb5b5b42185d5d0575659434bbf (diff)
downloadtalos-obmc-uboot-24b852a7a2b8eca71789100983bdb5104cc00696.tar.gz
talos-obmc-uboot-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 'include/common.h')
-rw-r--r--include/common.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/common.h b/include/common.h
index 09a131da0b..e9107300e5 100644
--- a/include/common.h
+++ b/include/common.h
@@ -218,7 +218,6 @@ int run_command_repeatable(const char *cmd, int flag);
* @return 0 on success, or != 0 on error.
*/
int run_command_list(const char *cmd, int len, int flag);
-extern char console_buffer[];
/* arch/$(ARCH)/lib/board.c */
void board_init_f(ulong);
@@ -862,15 +861,6 @@ void srand(unsigned int seed);
unsigned int rand(void);
unsigned int rand_r(unsigned int *seedp);
-/* common/console.c */
-int console_init_f(void); /* Before relocation; uses the serial stuff */
-int console_init_r(void); /* After relocation; uses the console stuff */
-int console_assign(int file, const char *devname); /* Assign the console */
-int ctrlc (void);
-int had_ctrlc (void); /* have we had a Control-C since last clear? */
-void clear_ctrlc (void); /* clear the Control-C condition */
-int disable_ctrlc (int); /* 1 to disable, 0 to enable Control-C detect */
-int confirm_yesno(void); /* 1 if input is "y", "Y", "yes" or "YES" */
/*
* STDIO based functions (can always be used)
*/
@@ -929,13 +919,6 @@ static inline struct in_addr getenv_ip(char *var)
return string_to_ip(getenv(var));
}
-/*
- * CONSOLE multiplexing.
- */
-#ifdef CONFIG_CONSOLE_MUX
-#include <iomux.h>
-#endif
-
int pcmcia_init (void);
#ifdef CONFIG_STATUS_LED
OpenPOWER on IntegriCloud