From mboxrd@z Thu Jan 1 00:00:00 1970 From: richardretanubun Date: Mon, 06 Oct 2008 16:10:53 -0400 Subject: [U-Boot] [PATCH] CONFIG_EFI_PARTITION: Added support for EFI partition in cmd_ext2fs.c In-Reply-To: <48DCFC12.20909@ruggedcom.com> References: <48D96215.3020706@ruggedcom.com> <20080923220942.7BF56248CD@gemini.denx.de> <48DA4559.2010608@ruggedcom.com> <48DA5C45.4080803@ruggedcom.com> <48DCFC12.20909@ruggedcom.com> Message-ID: <48EA70CD.4090304@ruggedcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Added support for CONFIG_EFI_PARTITION to ext2 commands. Signed-off-by: Richard Retanubun --- 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/ 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 #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 */ -- 1.5.5.GIT