From 7839011f61c02b42b44e540dfb18464f4bb79fba Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 10 May 2016 14:51:55 +0200 Subject: bootm: Move bootm options to common/Kconfig bootm has a C API, so the bootm options have to depend on the option providing the bootm code (CONFIG_BOOTM), not on the option providing the command (CONFIG_CMD_BOOTM). Fixing the dependencies makes it possible to fully use bootm from C without enabling the bootm command support. This also removes the CMD_ prefix from the options which means we have to update the defconfigs aswell. Signed-off-by: Sascha Hauer --- arch/nios2/configs/generic_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/nios2') diff --git a/arch/nios2/configs/generic_defconfig b/arch/nios2/configs/generic_defconfig index 9f9c85ef83..39f41dd25d 100644 --- a/arch/nios2/configs/generic_defconfig +++ b/arch/nios2/configs/generic_defconfig @@ -17,8 +17,8 @@ CONFIG_CMD_READLINE=y CONFIG_CMD_TFTP=y CONFIG_CMD_ECHO_E=y CONFIG_CMD_FLASH=y -CONFIG_CMD_BOOTM_SHOW_TYPE=y -CONFIG_CMD_BOOTM_VERBOSE=y +CONFIG_BOOTM_SHOW_TYPE=y +CONFIG_BOOTM_VERBOSE=y CONFIG_CMD_UIMAGE=y CONFIG_CMD_RESET=y CONFIG_CMD_GO=y -- cgit v1.2.3