diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2015-02-25 21:26:46 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-05 20:50:29 -0500 |
commit | 5294e97832a63ec3757221a88cb40095135a31ad (patch) | |
tree | 5b5d85f59a3ab055c9be736c05c3e875de70462c /include/stdio_dev.h | |
parent | e5d3e7fcbe43355413f2e8d03c3c73f4615d7f5d (diff) | |
download | u-boot-5294e97832a63ec3757221a88cb40095135a31ad.tar.gz u-boot-5294e97832a63ec3757221a88cb40095135a31ad.tar.bz2 u-boot-5294e97832a63ec3757221a88cb40095135a31ad.zip |
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.h | 2 |
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 */ |