]> git.sur5r.net Git - u-boot/commitdiff
CONFIG_EFI_PARTITION: Added support for EFI partition in cmd_ext2fs.c
authorrichardretanubun <richardretanubun@ruggedcom.com>
Mon, 6 Oct 2008 20:10:53 +0000 (16:10 -0400)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Oct 2008 19:54:01 +0000 (21:54 +0200)
Added support for CONFIG_EFI_PARTITION to ext2 commands.
Signed-off-by: Richard Retanubun <RichardRetanubun@RugggedCom.com>
common/cmd_ext2.c

index f569406432264f0a61eba2182d1ecd89ebb9d126..cfd4f645eca64612b9ab2462758e6ebde6ba4e44 100644 (file)
@@ -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 */