It has been over a decade since we had a platform that implemented the
bootp vendor extension support hook. Remove this option due to lack of
use.
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Even though the config is called BOOTP_BOOTPATH, it stores the
path in the variable 'rootpath'.
-config BOOTP_VENDOREX
- bool "Support vendor extensions from BOOTP/DHCP server"
- depends on CMD_BOOTP
-
config BOOTP_BOOTFILESIZE
bool "Request & store 'bootfilesize' from BOOTP/DHCP server"
depends on CMD_BOOTP
#endif
int clientarch = -1;
-#if defined(CONFIG_BOOTP_VENDOREX)
- u8 *x;
-#endif
#if defined(CONFIG_BOOTP_SEND_HOSTNAME)
char *hostname;
#endif
e = add_vci(e);
-#if defined(CONFIG_BOOTP_VENDOREX)
- x = dhcp_vendorex_prep(e);
- if (x)
- return x - start;
-#endif
-
*e++ = 55; /* Parameter Request List */
cnt = e++; /* Pointer to count of requested items */
*cnt = 0;
}
break;
default:
-#if defined(CONFIG_BOOTP_VENDOREX)
- if (dhcp_vendorex_proc(popt))
- break;
-#endif
printf("*** Unhandled DHCP Option in OFFER/ACK:"
" %d\n", *popt);
break;
#if defined(CONFIG_CMD_DHCP)
/* Minimum DHCP Options size per RFC2131 - results in 576 byte pkt */
#define OPT_FIELD_SIZE 312
-#if defined(CONFIG_BOOTP_VENDOREX)
-extern u8 *dhcp_vendorex_prep(u8 *e); /*rtn new e after add own opts. */
-extern u8 *dhcp_vendorex_proc(u8 *e); /*rtn next e if mine,else NULL */
-#endif
#else
#define OPT_FIELD_SIZE 64
#endif