
On Mon, Jun 22, 2015 at 04:15:30PM -0500, Joe Hershberger wrote:
This sets the default commands Kconfig to match include/config_cmd_default.h commands in the common/Kconfig and removes them from include/configs.
[snip]
diff --git a/common/Kconfig b/common/Kconfig index cb14592..2976cd7 100644 --- a/common/Kconfig +++ b/common/Kconfig
[snip]
config CMD_IMLS bool "imls"
- default y help List all images found in flash
[snip]
config CMD_FLASH bool "flinfo, erase, protect"
- default y help NOR flash support. flinfo - print FLASH memory information
Today we only set these when !SYS_NO_FLASH so we need to Kconfig that first.
@@ -352,6 +371,7 @@ menu "Network commands" config CMD_NET bool "bootp, tftpboot" select NET
- default y help Network commands. bootp - boot image via network using BOOTP/TFTP protocol
@@ -379,6 +399,7 @@ config CMD_DHCP
config CMD_NFS bool "nfs"
- default y help Boot image via network using NFS protocol.
I think we now have the smarts available to us to do this only if we have NET set, so "depends NET", yes?