summaryrefslogtreecommitdiff
path: root/include/asm-blackfin/global_data.h
diff options
context:
space:
mode:
authorMark Jackson <mpfj@mimc.co.uk>2008-08-25 19:21:30 +0100
committerWolfgang Denk <wd@denx.de>2008-09-06 22:36:54 +0200
commitf5c3ba79788b0e39baab7026d374fe375dd1a43f (patch)
tree35d2f149ce9d4dd63eb2eb3fc38e457b4aced883 /include/asm-blackfin/global_data.h
parent2b22d608f370565c87f55928b524207031419c11 (diff)
downloadu-boot-imx-f5c3ba79788b0e39baab7026d374fe375dd1a43f.zip
u-boot-imx-f5c3ba79788b0e39baab7026d374fe375dd1a43f.tar.gz
u-boot-imx-f5c3ba79788b0e39baab7026d374fe375dd1a43f.tar.bz2
Allow console input to be disabled
Added new CONFIG_DISABLE_CONSOLE define and GD_FLG_DISABLE_CONSOLE. When CONFIG_DISABLE_CONSOLE is defined, setting GD_FLG_DISABLE_CONSOLE disables all console input and output. Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
Diffstat (limited to 'include/asm-blackfin/global_data.h')
-rw-r--r--include/asm-blackfin/global_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-blackfin/global_data.h b/include/asm-blackfin/global_data.h
index b0b01e4..2f40870 100644
--- a/include/asm-blackfin/global_data.h
+++ b/include/asm-blackfin/global_data.h
@@ -64,6 +64,7 @@ typedef struct global_data {
#define GD_FLG_POSTFAIL 0x00008 /* Critical POST test failed */
#define GD_FLG_POSTSTOP 0x00010 /* POST seqeunce aborted */
#define GD_FLG_LOGINIT 0x00020 /* Log Buf has been initialized */
+#define GD_FLG_DISABLE_CONSOLE 0x00040 /* Disable console (in & out) */
#define DECLARE_GLOBAL_DATA_PTR register gd_t * volatile gd asm ("P5")