summaryrefslogtreecommitdiff
path: root/net/Kconfig
diff options
context:
space:
mode:
authorAndre Kalb <svc.sw.rte.linux@sma.de>2022-01-28 11:40:32 +0300
committerTom Rini <trini@konsulko.com>2022-08-08 17:49:51 +0300
commit5e6e41b3bab32f2ee258a76fda68b703e8f10cc3 (patch)
treeec3af50469b235a6f88e330c4b7e4cf67df5cc4f /net/Kconfig
parent56edbb5eafc53cd7b34cd231ec11c7e5eb576c9f (diff)
downloadu-boot-5e6e41b3bab32f2ee258a76fda68b703e8f10cc3.tar.xz
net: bootp: Make root path (option 17) length configurable
to adjust the root path length. Eg to 256 from Linux Kernel Signed-off-by: Andre Kalb <andre.kalb@sma.de> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> [trini: Guard extern so that !CONFIG_NET platforms will build] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'net/Kconfig')
-rw-r--r--net/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 564ea8b2d2..52e261884d 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -168,6 +168,12 @@ config BOOTP_SERVERIP
variable, not the BOOTP server. This affects the operation of both
bootp and tftp.
+config BOOTP_MAX_ROOT_PATH_LEN
+ int "Option 17 root path length"
+ default 64
+ help
+ Select maximal length of option 17 root path.
+
endif # if NET
config SYS_RX_ETH_BUFFER