From: Alexey Brodkin Date: Wed, 25 Feb 2015 18:26:46 +0000 (+0300) Subject: stdio: extend "name" to 32 symbols X-Git-Tag: v2015.04-rc4~65 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5294e97832a63ec3757221a88cb40095135a31ad;p=u-boot 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 Cc: Simon Glass Cc: Tom Rini Reviewed-by: Simon Glass --- 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 */