mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
e5d3e7fcbe
commit
5294e97832
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
struct stdio_dev {
|
struct stdio_dev {
|
||||||
int flags; /* Device flags: input/output/system */
|
int flags; /* Device flags: input/output/system */
|
||||||
int ext; /* Supported extensions */
|
int ext; /* Supported extensions */
|
||||||
char name[16]; /* Device name */
|
char name[32]; /* Device name */
|
||||||
|
|
||||||
/* GENERAL functions */
|
/* GENERAL functions */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue