From de6f3e8e2e126c6fd10039f5f7249c654c496718 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Fri, 12 Jun 2015 13:16:27 +0200 Subject: [PATCH] kconfig: set 'default y' for all CMD_* options defined in config_cmd_default.h --- common/Kconfig | 21 +++++++++++++++++++++ include/configs/tx28.h | 5 ----- include/configs/tx48.h | 5 ----- include/configs/tx51.h | 5 ----- include/configs/tx53.h | 5 ----- include/configs/tx6.h | 5 ----- 6 files changed, 21 insertions(+), 25 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index dfc581bd14..ead783c184 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". @@ -72,21 +75,25 @@ 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. config CMD_IMLS bool "imls" + default !SYS_NO_FLASH help List all images found in flash config CMD_XIMG bool "imxtract" + default y help Extract a part of a multi-image. @@ -119,11 +126,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. @@ -133,6 +142,7 @@ menu "Memory commands" config CMD_MEMORY bool "md, mm, nm, mw, cp, cmp, base, loop" + default y help Memeory commands. md - memory display @@ -177,16 +187,19 @@ 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 config CMD_FLASH bool "flinfo, erase, protect" + default y if !SYS_NO_FLASH help NOR flash support. flinfo - print FLASH memory information @@ -241,6 +254,7 @@ config CMD_USB config CMD_FPGA bool "fpga" + default y help FPGA support. @@ -251,16 +265,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 @@ -270,6 +287,7 @@ menu "Network commands" config CMD_NET bool "bootp, tftpboot" + default y help Network commands. bootp - boot image via network using BOOTP/TFTP protocol @@ -374,6 +392,7 @@ endif config CMD_NFS bool "nfs" + default y help Boot image via network using NFS protocol. @@ -424,6 +443,7 @@ config CMD_TIME # TODO: rename to CMD_SLEEP config CMD_MISC bool "sleep" + default y help Delay execution for some time @@ -435,6 +455,7 @@ config CMD_TIMER config CMD_SETGETDCR bool "getdcr, setdcr, getidcr, setidcr" depends on 4xx + default y help getdcr - Get an AMCC PPC 4xx DCR's value setdcr - Set an AMCC PPC 4xx DCR's value diff --git a/include/configs/tx28.h b/include/configs/tx28.h index fcc9120cdb..14a178175c 100644 --- a/include/configs/tx28.h +++ b/include/configs/tx28.h @@ -158,11 +158,6 @@ #define MTD_NAME "gpmi-nand" #define MTDIDS_DEFAULT "nand0=" MTD_NAME -/* - * U-Boot Commands - */ -#include - /* * Serial Driver */ diff --git a/include/configs/tx48.h b/include/configs/tx48.h index 79c92cc97f..392879410d 100644 --- a/include/configs/tx48.h +++ b/include/configs/tx48.h @@ -154,11 +154,6 @@ #define MTD_NAME "omap2-nand.0" #define MTDIDS_DEFAULT "nand0=" MTD_NAME -/* - * U-Boot Commands - */ -#include - /* * Serial Driver */ diff --git a/include/configs/tx51.h b/include/configs/tx51.h index a4ba2d0500..2ce5204ed9 100644 --- a/include/configs/tx51.h +++ b/include/configs/tx51.h @@ -151,11 +151,6 @@ #define MTD_NAME "mxc_nand" #define MTDIDS_DEFAULT "nand0=" MTD_NAME -/* - * U-Boot Commands - */ -#include - /* * Serial Driver */ diff --git a/include/configs/tx53.h b/include/configs/tx53.h index 5ea59f480d..2a1bf6f5e5 100644 --- a/include/configs/tx53.h +++ b/include/configs/tx53.h @@ -148,11 +148,6 @@ #define MTD_NAME "mxc_nand" #define MTDIDS_DEFAULT "nand0=" MTD_NAME -/* - * U-Boot Commands - */ -#include - /* * Serial Driver */ diff --git a/include/configs/tx6.h b/include/configs/tx6.h index deb3f13119..a89bce8a79 100644 --- a/include/configs/tx6.h +++ b/include/configs/tx6.h @@ -210,11 +210,6 @@ #endif #endif /* CONFIG_TX6_NAND */ -/* - * U-Boot Commands - */ -#include - /* * Serial Driver */ -- 2.39.2