]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
stdio: extend "name" to 32 symbols
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 25 Feb 2015 18:26:46 +0000 (21:26 +0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:24:12 +0000 (14:24 +0200)
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 */