
Added support for CONFIG_EFI_PARTITION to ext2 commands. Signed-off-by: Richard Retanubun RichardRetanubun@RugggedCom.com --- Hi Wolfgang,
This patch should be applied on top of the patch that adds EFI partition support.
A workaround without this patch is to #define CONFIG_DOS_PARTITION and #define CONFIG_EFI_PARTITION when using #define CONFIG_CMD_EXT2 in the include/config/<board-name.h>
Regards,
Richard
common/cmd_ext2.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c index f569406..cfd4f64 100644 --- a/common/cmd_ext2.c +++ b/common/cmd_ext2.c @@ -44,8 +44,8 @@ #include <usb.h> #endif
-#ifndef CONFIG_DOS_PARTITION -#error DOS partition support must be selected +#if !defined(CONFIG_DOS_PARTITION) && !defined(CONFIG_EFI_PARTITION) +#error DOS or EFI partition support must be selected #endif
/* #define EXT2_DEBUG */