From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 8 Sep 2014 12:32:11 -0600 Subject: [U-Boot] [PATCH 03/10] kconfig: move CONFIG_CMD_BOOTM to Kconfig In-Reply-To: <1410079409-28450-4-git-send-email-yamada.m@jp.panasonic.com> References: <1410079409-28450-1-git-send-email-yamada.m@jp.panasonic.com> <1410079409-28450-4-git-send-email-yamada.m@jp.panasonic.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Masahiro, On 7 September 2014 02:43, Masahiro Yamada wrote: > CONFIG_CMD_BOOTM is defined in config_cmd_defaults.h > which is forcebly included from each board. > So, the default value of "config CMD_BOOTM" should be "y". > > For some boards undefining it (bf506f-ezkit, controlcenterd_TRAILBLA, > controlcenterd_TRAILBLAZER_DEVELOP, controlcenterd_TRAILBLAZER), > "# CONFIG_CMD_BOOTM is not set" should be added to their defconfig. > > Signed-off-by: Masahiro Yamada > --- > > common/Kconfig | 4 ++++ > configs/bf506f-ezkit_defconfig | 1 + > configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 1 + > configs/controlcenterd_TRAILBLAZER_defconfig | 1 + > include/config_cmd_defaults.h | 1 - > include/configs/bf506f-ezkit.h | 1 - > include/configs/controlcenterd.h | 1 - > 7 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/common/Kconfig b/common/Kconfig > index 5ae7190..9ae8246 100644 > --- a/common/Kconfig > +++ b/common/Kconfig > @@ -1,4 +1,8 @@ > menu "Command line interface" > depends on !SPL_BUILD > > +config CMD_BOOTM > + bool "Enable boom command" nit: bootm Also could add some help text - e.g. it enables the command to boot an OS image. Regards, Simon