summaryrefslogtreecommitdiff
path: root/include/console.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-10-25 16:53:58 -0700
committerGerrit <chrome-bot@google.com>2012-10-26 09:49:38 -0700
commitcf7f33d158848e11b4cca36533e7fac960ca65a3 (patch)
treeeb1435d4f977e81781d9cf6e3e90a1f965d66af0 /include/console.h
parent7cf92c140d4f540c4704f6d2fa3a4759ed618ec9 (diff)
downloadchrome-ec-cf7f33d158848e11b4cca36533e7fac960ca65a3.tar.gz
Clean up uart buffering code
No functional changes. BUG=chrome-os-partner:15579 BRANCH=none TEST=help version -> prints help on version command Change-Id: I79c4b668513b6037aa6cf3fa1a2a8c0fc9856f41 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/36612 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/console.h')
-rw-r--r--include/console.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index f037b252ae..a759eec628 100644
--- a/include/console.h
+++ b/include/console.h
@@ -59,6 +59,9 @@ enum console_channel {
/* Mask to use to enable all channels */
#define CC_ALL 0xffffffffUL
+/* Max length of a single line of input */
+#define CONSOLE_INPUT_LINE_SIZE 80
+
/**
* Put a string to the console channel.
*