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 --- common/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/image.c') diff --git a/common/image.c b/common/image.c index 9252d5e775..f3ec071ee1 100644 --- a/common/image.c +++ b/common/image.c @@ -31,7 +31,7 @@ #include #endif -#if defined(CONFIG_CMD_BOOTM_SHOW_TYPE) || !defined(__BAREBOX__) +#if defined(CONFIG_BOOTM_SHOW_TYPE) || !defined(__BAREBOX__) typedef struct table_entry { int id; /* as defined in image.h */ char *sname; /* short (input) name */ -- cgit v1.2.3