> - fsl_sata_exec_cmd(sata, cfis, CMD_ATA, 0, buffer, > ATA_SECT_SIZE * blkcnt); > + fsl_sata_exec_cmd(sata, cfis, CMD_ATA, 0, buffer, > ATA_SECT_BYTESIZE * blkcnt); > return blkcnt; > } > > @@ -658,7 +659,7 @@ static u32 fsl_sata_rw_cmd_ext(int dev, u32 start, > u32 blkcnt, u8 *buffer, int i > cfis->sector_count_exp = (blkcnt >> 8) & 0xff; > cfis->sector_count = blkcnt & 0xff; > > - fsl_sata_exec_cmd(sata, cfis, CMD_ATA, 0, buffer, > ATA_SECT_SIZE * blkcnt); > + fsl_sata_exec_cmd(sata, cfis, CMD_ATA, 0, buffer, > ATA_SECT_BYTESIZE * blkcnt); > return blkcnt;
Nack. Don't do this. I don't think the ATA_SECT_BYTESIZE is better than the ATA_SECT_SIZE. The libata.h is closely than the latest linux kernel. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
