Commit ef0f2f57 authored by Joe Hershberger's avatar Joe Hershberger Committed by Tom Rini

Move defaults from config_cmd_default.h to Kconfig

This sets the default commands Kconfig to match
include/config_cmd_default.h commands in the common/Kconfig and removes
them from include/configs.
Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
[trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent c9bb942e

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

...@@ -1048,9 +1048,7 @@ The following options need to be configured: ...@@ -1048,9 +1048,7 @@ The following options need to be configured:
Monitor commands can be included or excluded Monitor commands can be included or excluded
from the build by using the #include files from the build by using the #include files
<config_cmd_all.h> and #undef'ing unwanted <config_cmd_all.h> and #undef'ing unwanted
commands, or using <config_cmd_default.h> commands, or adding #define's for wanted commands.
and augmenting with additional #define's
for wanted commands.
The default command configuration includes all commands The default command configuration includes all commands
except those marked below with a "*". except those marked below with a "*".
......
...@@ -101,11 +101,13 @@ menu "Info commands" ...@@ -101,11 +101,13 @@ menu "Info commands"
config CMD_BDI config CMD_BDI
bool "bdinfo" bool "bdinfo"
default y
help help
Print board info Print board info
config CMD_CONSOLE config CMD_CONSOLE
bool "coninfo" bool "coninfo"
default y
help help
Print console devices and information. Print console devices and information.
...@@ -128,6 +130,7 @@ menu "Boot commands" ...@@ -128,6 +130,7 @@ menu "Boot commands"
config CMD_BOOTD config CMD_BOOTD
bool "bootd" bool "bootd"
default y
help help
Run the command stored in the environment "bootcmd", i.e. Run the command stored in the environment "bootcmd", i.e.
"bootd" does the same thing as "run bootcmd". "bootd" does the same thing as "run bootcmd".
...@@ -146,21 +149,25 @@ config CMD_GO ...@@ -146,21 +149,25 @@ config CMD_GO
config CMD_RUN config CMD_RUN
bool "run" bool "run"
default y
help help
Run the command in the given environment variable. Run the command in the given environment variable.
config CMD_IMI config CMD_IMI
bool "iminfo" bool "iminfo"
default y
help help
Print header information for application image. Print header information for application image.
config CMD_IMLS config CMD_IMLS
bool "imls" bool "imls"
default y
help help
List all images found in flash List all images found in flash
config CMD_XIMG config CMD_XIMG
bool "imxtract" bool "imxtract"
default y
help help
Extract a part of a multi-image. Extract a part of a multi-image.
...@@ -182,17 +189,20 @@ config CMD_IMPORTENV ...@@ -182,17 +189,20 @@ config CMD_IMPORTENV
config CMD_EDITENV config CMD_EDITENV
bool "editenv" bool "editenv"
default y
help help
Edit environment variable. Edit environment variable.
config CMD_SAVEENV config CMD_SAVEENV
bool "saveenv" bool "saveenv"
default y
help help
Save all environment variables into the compiled-in persistent Save all environment variables into the compiled-in persistent
storage. storage.
config CMD_ENV_EXISTS config CMD_ENV_EXISTS
bool "env exists" bool "env exists"
default y
help help
Check if a variable is defined in the environment for use in Check if a variable is defined in the environment for use in
shell scripting. shell scripting.
...@@ -203,6 +213,7 @@ menu "Memory commands" ...@@ -203,6 +213,7 @@ menu "Memory commands"
config CMD_MEMORY config CMD_MEMORY
bool "md, mm, nm, mw, cp, cmp, base, loop" bool "md, mm, nm, mw, cp, cmp, base, loop"
default y
help help
Memeory commands. Memeory commands.
md - memory display md - memory display
...@@ -270,16 +281,19 @@ config CMD_DEMO ...@@ -270,16 +281,19 @@ config CMD_DEMO
config CMD_LOADB config CMD_LOADB
bool "loadb" bool "loadb"
default y
help help
Load a binary file over serial line. Load a binary file over serial line.
config CMD_LOADS config CMD_LOADS
bool "loads" bool "loads"
default y
help help
Load an S-Record file over serial line Load an S-Record file over serial line
config CMD_FLASH config CMD_FLASH
bool "flinfo, erase, protect" bool "flinfo, erase, protect"
default y
help help
NOR flash support. NOR flash support.
flinfo - print FLASH memory information flinfo - print FLASH memory information
...@@ -314,6 +328,7 @@ config CMD_USB ...@@ -314,6 +328,7 @@ config CMD_USB
config CMD_FPGA config CMD_FPGA
bool "fpga" bool "fpga"
default y
help help
FPGA support. FPGA support.
...@@ -324,21 +339,25 @@ menu "Shell scripting commands" ...@@ -324,21 +339,25 @@ menu "Shell scripting commands"
config CMD_ECHO config CMD_ECHO
bool "echo" bool "echo"
default y
help help
Echo args to console Echo args to console
config CMD_ITEST config CMD_ITEST
bool "itest" bool "itest"
default y
help help
Return true/false on integer compare. Return true/false on integer compare.
config CMD_SOURCE config CMD_SOURCE
bool "source" bool "source"
default y
help help
Run script from memory Run script from memory
config CMD_SETEXPR config CMD_SETEXPR
bool "setexpr" bool "setexpr"
default y
help help
Evaluate boolean and math expressions and store the result in an env Evaluate boolean and math expressions and store the result in an env
variable. variable.
...@@ -352,6 +371,7 @@ menu "Network commands" ...@@ -352,6 +371,7 @@ menu "Network commands"
config CMD_NET config CMD_NET
bool "bootp, tftpboot" bool "bootp, tftpboot"
select NET select NET
default y
help help
Network commands. Network commands.
bootp - boot image via network using BOOTP/TFTP protocol bootp - boot image via network using BOOTP/TFTP protocol
...@@ -379,6 +399,7 @@ config CMD_DHCP ...@@ -379,6 +399,7 @@ config CMD_DHCP
config CMD_NFS config CMD_NFS
bool "nfs" bool "nfs"
default y
help help
Boot image via network using NFS protocol. Boot image via network using NFS protocol.
...@@ -419,6 +440,7 @@ config CMD_TIME ...@@ -419,6 +440,7 @@ config CMD_TIME
# TODO: rename to CMD_SLEEP # TODO: rename to CMD_SLEEP
config CMD_MISC config CMD_MISC
bool "sleep" bool "sleep"
default y
help help
Delay execution for some time Delay execution for some time
...@@ -430,6 +452,7 @@ config CMD_TIMER ...@@ -430,6 +452,7 @@ config CMD_TIMER
config CMD_SETGETDCR config CMD_SETGETDCR
bool "getdcr, setdcr, getidcr, setidcr" bool "getdcr, setdcr, getidcr, setidcr"
depends on 4xx depends on 4xx
default y
help help
getdcr - Get an AMCC PPC 4xx DCR's value getdcr - Get an AMCC PPC 4xx DCR's value
setdcr - Set an AMCC PPC 4xx DCR's value setdcr - Set an AMCC PPC 4xx DCR's value
......
...@@ -8,10 +8,10 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-olinuxino-lime" ...@@ -8,10 +8,10 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-olinuxino-lime"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL=y CONFIG_SPL=y
CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPC(3),USB_EHCI" CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPC(3),USB_EHCI"
CONFIG_CMD_SETEXPR=y # CONFIG_CMD_IMLS is not set
CONFIG_CMD_NET=y # CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
CONFIG_DM_ETH=y CONFIG_DM_ETH=y
CONFIG_NETDEVICES=y
CONFIG_DM_SERIAL=y CONFIG_DM_SERIAL=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_DM_USB=y CONFIG_DM_USB=y
...@@ -10,10 +10,10 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-olinuxino-micro" ...@@ -10,10 +10,10 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-olinuxino-micro"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set