All of lore.kernel.org
 help / color / mirror / Atom feed
From: richardretanubun <richardretanubun@ruggedcom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] CONFIG_EFI_PARTITION: Added support for EFI partition in cmd_ext2fs.c
Date: Mon, 06 Oct 2008 16:10:53 -0400	[thread overview]
Message-ID: <48EA70CD.4090304@ruggedcom.com> (raw)
In-Reply-To: <48DCFC12.20909@ruggedcom.com>

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 */
-- 
1.5.5.GIT

  reply	other threads:[~2008-10-06 20:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-23 21:39 [U-Boot] [PATCH] Add support for CONFIG_EFI_PARTITION (GUID Partition Table) richardretanubun
2008-09-23 22:09 ` Wolfgang Denk
2008-09-23 22:19   ` Andrew Dyer
2008-09-24 13:49     ` richardretanubun
2008-09-24 15:27       ` richardretanubun
2008-09-26 15:13         ` richardretanubun
2008-10-06 20:10           ` richardretanubun [this message]
2008-10-14 13:16             ` [U-Boot] [PATCH] CONFIG_EFI_PARTITION: Added support for EFI partition in cmd_ext2fs.c Wolfgang Denk
2008-10-14 13:15           ` [U-Boot] [PATCH] Add support for CONFIG_EFI_PARTITION (GUID Partition Table) Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48EA70CD.4090304@ruggedcom.com \
    --to=richardretanubun@ruggedcom.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.