]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_ide.c
esd WUH405 and DU405 board updated
[u-boot] / common / cmd_ide.c
index 1cc88e3e508d5bf091dc4d3ae8f6c0a19227de6e..1adfe2bfaf8b49154c1db828cdb0cff81626b4cc 100644 (file)
@@ -413,7 +413,7 @@ int do_diskboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
                }
                part = simple_strtoul(++ep, NULL, 16);
        }
-       if (get_partition_info (&ide_dev_desc[dev], part, &info)) {
+       if (get_partition_info (ide_dev_desc, part, &info)) {
                SHOW_BOOT_PROGRESS (-1);
                return 1;
        }
@@ -871,7 +871,7 @@ input_swap_data(int dev, ulong *sect_buf, int words)
                        dbuf+=1;
                }
        }
-#else  
+#else
        volatile ushort *pbuf = (ushort *)(ATA_CURR_BASE(dev)+ATA_DATA_REG);
        ushort  *dbuf = (ushort *)sect_buf;