]> git.sur5r.net Git - u-boot/commitdiff
stdio: extend "name" to 32 symbols
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 25 Feb 2015 18:26:46 +0000 (21:26 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 6 Mar 2015 01:50:29 +0000 (20:50 -0500)
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>
include/stdio_dev.h

index 24da23fe501196d650ff71d5062d3528ce362160..95d6246f59ee7be3d6a9ea2eca1066f7adcba5d0 100644 (file)
@@ -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 */