X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=disk%2Fpart_dos.c;h=887b75ec8874fb409d08e2c13098fcd3cba9806c;hb=944a4894c047f9fc17d21f1e4ca92d5909b8405b;hp=b915eb7484d3f9b8c95553d5fb444c69af95a620;hpb=716655288a53c95fad203ebf21d0b8ffdc2f7525;p=u-boot diff --git a/disk/part_dos.c b/disk/part_dos.c index b915eb7484..887b75ec88 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -188,7 +188,8 @@ static int get_partition_info_extended (block_dev_desc_t *dev_desc, int ext_part * fdisk does not show the extended partitions that * are not in the MBR */ - if ((pt->sys_ind != 0) && + if (((pt->boot_ind & ~0x80) == 0) && + (pt->sys_ind != 0) && (part_num == which_part) && (is_extended(pt->sys_ind) == 0)) { info->blksz = 512;