]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - disk/part_iso.c
ARM: tegra: fdt: Add 'non-removable' property to all eMMC nodes
[karo-tx-uboot.git] / disk / part_iso.c
index 9f5c50c73faba4cf2c51bd030f70401914a78092..f9a741d2973ba896932753142c3354b27db8f553 100644 (file)
@@ -233,13 +233,13 @@ static void part_print_iso(struct blk_desc *dev_desc)
        disk_partition_t info;
        int i;
 
-       if (part_get_info_iso_verb(dev_desc, 0, &info, 0) == -1) {
+       if (part_get_info_iso_verb(dev_desc, 1, &info, 0) == -1) {
                printf("** No boot partition found on device %d **\n",
                       dev_desc->devnum);
                return;
        }
        printf("Part   Start     Sect x Size Type\n");
-       i=0;
+       i=1;
        do {
                printf(" %2d " LBAFU " " LBAFU " %6ld %.32s\n",
                       i, info.start, info.size, info.blksz, info.type);