-
- Downloads
cmd: move CMD_PXE to Kconfig
Currently, CMD_PXE is forcibly enabled in config_distro_defaults.h, so that general purpose distributions can rely on it being defined. This header is included, under conditions or not, by various archs or famillies of archs / SoCs. However, it is very possible that boards based on those SoCs will not have a physical ethernet connector at all, even if the have a MAC; for example, the Nanopi Neo AIR (sunxi H3) does not. It is also possible that network booting is absolutely not necessary for a device. However, it is not possible to disable the PXE command, as it is forcibly enabled and is non-configurable. But it turns out we already have a config option to build a distro-ready image, in the name of DISTRO_DEFAULTS. Move CMD_PXE out of the hard-coded config_distro_defaults.h into a Kconfig option, that gets selected by DISTRO_DEFAULTS when it is set. Signed-off-by:"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Joe Hershberger <joe.hershberger@ni.com> [trini: Make it select MENU, run moveconfig.py] Signed-off-by:
Tom Rini <trini@konsulko.com>
Showing
- Kconfig 1 addition, 0 deletionsKconfig
- cmd/Kconfig 6 additions, 0 deletionscmd/Kconfig
- configs/ls1043aqds_defconfig 1 addition, 0 deletionsconfigs/ls1043aqds_defconfig
- configs/ls1043aqds_lpuart_defconfig 1 addition, 0 deletionsconfigs/ls1043aqds_lpuart_defconfig
- configs/ls1043aqds_nand_defconfig 1 addition, 0 deletionsconfigs/ls1043aqds_nand_defconfig
- configs/ls1043aqds_nor_ddr3_defconfig 1 addition, 0 deletionsconfigs/ls1043aqds_nor_ddr3_defconfig
- configs/ls1043aqds_qspi_defconfig 1 addition, 0 deletionsconfigs/ls1043aqds_qspi_defconfig
- configs/ls1043aqds_sdcard_ifc_defconfig 1 addition, 0 deletionsconfigs/ls1043aqds_sdcard_ifc_defconfig
- configs/ls1043aqds_sdcard_qspi_defconfig 1 addition, 0 deletionsconfigs/ls1043aqds_sdcard_qspi_defconfig
- configs/ls1043ardb_SECURE_BOOT_defconfig 1 addition, 0 deletionsconfigs/ls1043ardb_SECURE_BOOT_defconfig
- configs/ls1043ardb_defconfig 1 addition, 0 deletionsconfigs/ls1043ardb_defconfig
- configs/ls1043ardb_nand_defconfig 1 addition, 0 deletionsconfigs/ls1043ardb_nand_defconfig
- configs/ls1043ardb_sdcard_defconfig 1 addition, 0 deletionsconfigs/ls1043ardb_sdcard_defconfig
- include/config_distro_defaults.h 0 additions, 2 deletionsinclude/config_distro_defaults.h
- include/configs/am335x_shc.h 0 additions, 1 deletioninclude/configs/am335x_shc.h
- include/configs/ls1043a_common.h 0 additions, 1 deletioninclude/configs/ls1043a_common.h
- include/configs/s32v234evb.h 0 additions, 1 deletioninclude/configs/s32v234evb.h
- include/configs/vexpress_aemv8a.h 0 additions, 1 deletioninclude/configs/vexpress_aemv8a.h
- include/configs/xilinx_zynqmp.h 0 additions, 3 deletionsinclude/configs/xilinx_zynqmp.h
Please register or sign in to comment