X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fata.h;h=dde377c99ec92423093733c24008c1508ddcd915;hb=df16881cea50a787c37591bd2168c8ea656217bd;hp=9d6f59c97bfaae7ea8482eb03468533465901d9c;hpb=3be2bdf5dc69b3142c1162a59bc67191c9077567;p=u-boot diff --git a/include/ata.h b/include/ata.h index 9d6f59c97b..dde377c99e 100644 --- a/include/ata.h +++ b/include/ata.h @@ -126,7 +126,7 @@ #define ATA_BLOCKSIZE 512 /* bytes */ #define ATA_BLOCKSHIFT 9 /* 2 ^ ATA_BLOCKSIZESHIFT = 512 */ -#define ATA_SECTORWORDS (512 / sizeof(unsigned long)) +#define ATA_SECTORWORDS (512 / sizeof(uint32_t)) #ifndef ATA_RESET_TIME #define ATA_RESET_TIME 60 /* spec allows up to 31 seconds */