summaryrefslogtreecommitdiff
path: root/include/stdio_dev.h
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2015-02-25 21:26:46 +0300
committerTom Rini <trini@konsulko.com>2015-03-05 20:50:29 -0500
commit5294e97832a63ec3757221a88cb40095135a31ad (patch)
tree5b5d85f59a3ab055c9be736c05c3e875de70462c /include/stdio_dev.h
parente5d3e7fcbe43355413f2e8d03c3c73f4615d7f5d (diff)
downloadu-boot-5294e97832a63ec3757221a88cb40095135a31ad.tar.gz
stdio: extend "name" to 32 symbols
With limit of 16 symbols very simple device names derived drom device tree description could not be displayed correctly. For example "serial0@0xc0fc1000" will be truncated to sensless "serial0@0xc0fc10" - note dropped tariling zeros. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/stdio_dev.h')
-rw-r--r--include/stdio_dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio_dev.h b/include/stdio_dev.h
index 24da23fe50..95d6246f59 100644
--- a/include/stdio_dev.h
+++ b/include/stdio_dev.h
@@ -23,7 +23,7 @@
struct stdio_dev {
int flags; /* Device flags: input/output/system */
int ext; /* Supported extensions */
- char name[16]; /* Device name */
+ char name[32]; /* Device name */
/* GENERAL functions */