diff options
author | wdenk <wdenk> | 2003-05-20 14:25:27 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-05-20 14:25:27 +0000 |
commit | 7f70e85309c6367138c0ebd14abdd49964b8d50a (patch) | |
tree | 07a10be9b048491fd4a1da6b459728ac16739861 /disk/part_dos.c | |
parent | 59de2ed6b5631c709d6e9c6dce7c0bffdf5a2058 (diff) | |
download | u-boot-imx-7f70e85309c6367138c0ebd14abdd49964b8d50a.zip u-boot-imx-7f70e85309c6367138c0ebd14abdd49964b8d50a.tar.gz u-boot-imx-7f70e85309c6367138c0ebd14abdd49964b8d50a.tar.bz2 |
* Patch by David Updegraff, 22 Apr 2003:
update for CrayL1 board
* Patch by Pantelis Antoniou, 21 Apr 2003:
add boot support for ARTOS (a proprietary OS)
* Patch by Steven Scholz, 11 Apr 2003:
Add support for RTC DS1338
* Patch by Rod Boyce, 24 Jan 2003:
Fix counting of extended partitions in diskboot command
Diffstat (limited to 'disk/part_dos.c')
-rw-r--r-- | disk/part_dos.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/disk/part_dos.c b/disk/part_dos.c index 8e71baa..fc6769b 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -169,7 +169,9 @@ 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 && part_num == which_part) { + if ((pt->sys_ind != 0) && + (part_num == which_part) && + (is_extended(pt->sys_ind) == 0)) { info->blksz = 512; info->start = ext_part_sector + le32_to_int (pt->start4); info->size = le32_to_int (pt->size4); |