diff mbox series

[U-Boot,5/5] cmd: pxe: Increase MAX_TFTP_PATH_LEN to 256

Message ID 20190212170522.27262-5-adrian.ratiu@collabora.com
State Deferred
Delegated to: Marek Vasut
Headers show
Series [U-Boot,1/5] drivers: usb: musb: Fail if the ctrl mod register is missing | expand

Commit Message

Adrian Ratiu Feb. 12, 2019, 5:05 p.m. UTC
From: Martyn Welch <martyn.welch@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.welch@collabora.co.uk>
---
 cmd/pxe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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