summaryrefslogtreecommitdiffstats
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
parent07f3d789b9beb7ce3278c974f4d5c8f51b6ab567 (diff)
downloadtalos-obmc-uboot-fbd85ad65dd9c98f36ed3fb12fe41f381b7d4794.tar.gz
talos-obmc-uboot-fbd85ad65dd9c98f36ed3fb12fe41f381b7d4794.zip
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>
-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 f569406432..cfd4f645ec 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 */
OpenPOWER on IntegriCloud