diff options
author | Michal Simek <michal.simek@amd.com> | 2025-04-11 08:31:19 +0200 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-04-23 09:58:07 +0200 |
commit | f79db892fc9c53b909e3fd7c430a1fec3a885cfe (patch) | |
tree | 28b775c1fff93469ecea12abcd3c463ee12182c4 | |
parent | 473032619f5056ede0517e1a926b09d0038567ed (diff) |
cmd: Remove CMD_NET protection
CMD_PXE is already under CMD_NET in Kconfig that's why make no sense to
have another ifdef inside source code.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
-rw-r--r-- | cmd/pxe.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/pxe.c b/cmd/pxe.c index 37b8dea6ad6..0f26b3b4219 100644 --- a/cmd/pxe.c +++ b/cmd/pxe.c @@ -13,7 +13,6 @@ #include "pxe_utils.h" -#ifdef CONFIG_CMD_NET const char *pxe_default_paths[] = { #ifdef CONFIG_SYS_SOC #ifdef CONFIG_SYS_BOARD @@ -331,5 +330,3 @@ U_BOOT_CMD(pxe, 4, 1, do_pxe, "get [" USE_IP6_CMD_PARAM "] - try to retrieve a pxe file using tftp\n" "pxe boot [pxefile_addr_r] [-ipv6] - boot from the pxe file at pxefile_addr_r\n" ); - -#endif /* CONFIG_CMD_NET */ |