1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-22 02:24:03 +02:00

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>
This commit is contained in:
Andre Kalb
2022-01-28 09:40:32 +01:00
committed by Tom Rini
parent 56edbb5eaf
commit 5e6e41b3ba
3 changed files with 10 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ ulong bootp_start;
ulong bootp_timeout;
char net_nis_domain[32] = {0,}; /* Our NIS domain */
char net_hostname[32] = {0,}; /* Our hostname */
char net_root_path[64] = {0,}; /* Our bootpath */
char net_root_path[CONFIG_BOOTP_MAX_ROOT_PATH_LEN] = {0,}; /* Our bootpath */
static ulong time_taken_max;