projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8830efb
)
mbr: if extend partition, show ebr
author
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 26 Nov 2010 06:40:07 +0000
(15:40 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 26 Nov 2010 06:40:07 +0000
(15:40 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/misc/mbr.c
patch
|
blob
|
history
diff --git
a/drivers/misc/mbr.c
b/drivers/misc/mbr.c
index
75c9641
..
2024274
100644
(file)
--- a/
drivers/misc/mbr.c
+++ b/
drivers/misc/mbr.c
@@
-90,7
+90,7
@@
static void ebr_show(struct mmc *mmc, struct mbr_partition *mp, int ebr_next)
putc(msg[i]);
putc('\n');
- if (p->lba)
+ if (p->lba
&& p->partition_type == 0x5
)
ebr_show(mmc, p, 1);
}
@@
-140,7
+140,7
@@
static void mbr_show(void)
printf("lba 0x%08x (%d), ", mp->lba, mp->lba);
printf("nsectors 0x%08x (%d)\n", mp->nsectors, mp->nsectors);
- if (mp->lba)
+ if (mp->lba
&& mp->partition_type == 0x5
)
ebr_show(mmc, mp, 0);
}
}