[U-Boot] [PATCH 1/2] common: mark commands as default to match "config_cmd_default.h"

Alexey Brodkin
2015-01-03T13:20:08Z

Now when we may select commands via menuconfig let's adjust default
settings with "config_cmd_default.h".

As the next step we may get rid of "config_cmd_default.h" inclusion in
"include/configs/*.h" and "config_cmd_default.h" itself.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Tom Rini <trini@ti.com>
---
common/Kconfig | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

diff --git a/common/Kconfig b/common/Kconfig
index fd84fa0..cbc4f5b 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -24,11 +24,13 @@ menu "Info commands"

config CMD_BDI
bool "bdinfo"
+ default y
help
Print board info

config CMD_CONSOLE
bool "coninfo"
+ default y
help
Print console devices and information.

@@ -43,6 +45,7 @@ menu "Boot commands"

config CMD_BOOTD
bool "bootd"
+ default y
help
Run the command stored in the environment "bootcmd", i.e.
"bootd" does the same thing as "run bootcmd".
@@ -61,11 +64,13 @@ config CMD_GO

config CMD_RUN
bool "run"
+ default y
help
Run the command in the given environment variable.

config CMD_IMI
bool "iminfo"
+ default y
help
Print header information for application image.

@@ -76,6 +81,7 @@ config CMD_IMLS

config CMD_XIMG
bool "imxtract"
+ default y
help
Extract a part of a multi-image.

@@ -97,11 +103,13 @@ config CMD_IMPORTENV

config CMD_EDITENV
bool "editenv"
+ default y
help
Edit environment variable.

config CMD_SAVEENV
bool "saveenv"
+ default y
help
Run the command in the given environment variable.

@@ -111,6 +119,7 @@ menu "Memory commands"

config CMD_MEMORY
bool "md, mm, nm, mw, cp, cmp, base, loop"
+ default y
help
Memeory commands.
md - memory display
@@ -155,11 +164,13 @@ menu "Device access commands"

config CMD_LOADB
bool "loadb"
+ default y
help
Load a binary file over serial line.

config CMD_LOADS
bool "loads"
+ default y
help
Load an S-Record file over serial line

@@ -193,6 +204,7 @@ config CMD_USB

config CMD_FPGA
bool "fpga"
+ default y
help
FPGA support.

@@ -203,16 +215,19 @@ menu "Shell scripting commands"

config CMD_ECHO
bool "echo"
+ default y
help
Echo args to console

config CMD_ITEST
bool "itest"
+ default y
help
Return true/false on integer compare.

config CMD_SOURCE
bool "source"
+ default y
help
Run script from memory

@@ -222,6 +237,7 @@ menu "Network commands"

config CMD_NET
bool "bootp, tftpboot"
+ default y
help
Network commands.
bootp - boot image via network using BOOTP/TFTP protocol
@@ -249,6 +265,7 @@ config CMD_DHCP

config CMD_NFS
bool "nfs"
+ default y
help
Boot image via network using NFS protocol.

@@ -294,6 +311,7 @@ config CMD_TIME
# TODO: rename to CMD_SLEEP
config CMD_MISC
bool "sleep"
+ default y
help
Delay execution for some time

@@ -304,6 +322,7 @@ config CMD_TIMER

config CMD_SETGETDCR
bool "getdcr, setdcr, getidcr, setidcr"
+ default y
depends on 4xx
help
getdcr - Get an AMCC PPC 4xx DCR's value
--
2.1.0