From: Martyn Welch <martyn.we...@collabora.co.uk>

Despite the name it's also used for paths in distro configuration
files (i.e. extlinux.conf). When using OSTree, it is very easy to
reach the 127 character limit, thus increase to 256 bytes.

Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
---
 cmd/pxe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/pxe.c b/cmd/pxe.c
index 274555319ba..14022f13c69 100644
--- a/cmd/pxe.c
+++ b/cmd/pxe.c
@@ -18,7 +18,7 @@
 #include "menu.h"
 #include "cli.h"
 
-#define MAX_TFTP_PATH_LEN 127
+#define MAX_TFTP_PATH_LEN 256
 
 const char *pxe_default_paths[] = {
 #ifdef CONFIG_SYS_SOC
-- 
2.20.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to