]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - disk/part_dos.c
MX31: Add support for NAND to QONG board
[karo-tx-uboot.git] / disk / part_dos.c
index b915eb7484d3f9b8c95553d5fb444c69af95a620..887b75ec8874fb409d08e2c13098fcd3cba9806c 100644 (file)
@@ -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;