Commit 5294e97832a63ec3757221a88cb40095135a31ad

Authored by Alexey Brodkin
Committed by Tom Rini
1 parent e5d3e7fcbe

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -23,7 +23,7 @@
23 23 struct stdio_dev {
24 24 int flags; /* Device flags: input/output/system */
25 25 int ext; /* Supported extensions */
26   - char name[16]; /* Device name */
  26 + char name[32]; /* Device name */
27 27  
28 28 /* GENERAL functions */
29 29