[U-Boot] [PATCH 01/11] fw_env.c: Increase max dev path to 32
Tom Rini
trini at ti.com
Thu Sep 26 22:27:57 CEST 2013
Currently our limit is too small to allow for /dev/mmcblk0boot0 to work,
for example. Expand to 32 for future needs.
Signed-off-by: Tom Rini <trini at ti.com>
---
tools/env/fw_env.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index 577ce2d..bf5c552 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -40,7 +40,7 @@
_min1 < _min2 ? _min1 : _min2; })
struct envdev_s {
- char devname[16]; /* Device name */
+ char devname[32]; /* Device name */
ulong devoff; /* Device offset */
ulong env_size; /* environment size */
ulong erase_size; /* device erase size */
--
1.7.9.5
More information about the U-Boot
mailing list