* [PATCH v2] partitions: dos: Fix support of extended partition type 0x05
@ 2014-12-19 9:15 Victorien Vedrine
0 siblings, 0 replies; only message in thread
From: Victorien Vedrine @ 2014-12-19 9:15 UTC (permalink / raw)
To: barebox; +Cc: victorien
From: victorien <victorien.vedrine@ophrys.net>
Signed-off-by: Victorien Vedrine <victorien.vedrine@ophrys.net>
---
common/partitions/dos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/partitions/dos.c b/common/partitions/dos.c
index 37addfd..8a3c5c3 100644
--- a/common/partitions/dos.c
+++ b/common/partitions/dos.c
@@ -209,7 +209,7 @@ static void dos_partition(void *buf, struct block_device *blk,
* here as this is the easiest to parse and common
* enough.
*/
- if (pentry.dos_partition_type == 0x0f) {
+ if ((pentry.dos_partition_type == 0x0f)||(pentry.dos_partition_type == 0x05)) {
if (!extended_partition)
extended_partition = &pd->parts[n];
else
--
1.9.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-19 9:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-19 9:15 [PATCH v2] partitions: dos: Fix support of extended partition type 0x05 Victorien Vedrine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox