summaryrefslogtreecommitdiff
path: root/common/cmd_ext2.c
diff options
context:
space:
mode:
authorrichardretanubun <richardretanubun@ruggedcom.com>2008-10-06 16:10:53 -0400
committerWolfgang Denk <wd@denx.de>2008-10-18 21:54:01 +0200
commitfbd85ad65dd9c98f36ed3fb12fe41f381b7d4794 (patch)
tree776046b6c7bebda4fbbeace2f505874340ced7f1 /common/cmd_ext2.c
parent07f3d789b9beb7ce3278c974f4d5c8f51b6ab567 (diff)
downloadu-boot-imx-fbd85ad65dd9c98f36ed3fb12fe41f381b7d4794.zip
u-boot-imx-fbd85ad65dd9c98f36ed3fb12fe41f381b7d4794.tar.gz
u-boot-imx-fbd85ad65dd9c98f36ed3fb12fe41f381b7d4794.tar.bz2
CONFIG_EFI_PARTITION: Added support for EFI partition in cmd_ext2fs.c
Added support for CONFIG_EFI_PARTITION to ext2 commands. Signed-off-by: Richard Retanubun <RichardRetanubun@RugggedCom.com>
Diffstat (limited to 'common/cmd_ext2.c')
-rw-r--r--common/cmd_ext2.c4
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 */