summaryrefslogtreecommitdiffstats
path: root/include/ata.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-05-20 20:43:27 -0400
committerTom Rini <trini@konsulko.com>2016-05-23 11:51:37 -0400
commitd7d000311285e4b8d11e089ca13ea456a01be3b8 (patch)
treed156930b1f4ebf864dd42ec6e43e24045d975c55 /include/ata.h
parentd38fca40c84e6d5f73dfe43cef4c46d42f90aa66 (diff)
parent40ba13c98627055465709acd67872e381b42f928 (diff)
downloadblackbird-obmc-uboot-d7d000311285e4b8d11e089ca13ea456a01be3b8.tar.gz
blackbird-obmc-uboot-d7d000311285e4b8d11e089ca13ea456a01be3b8.zip
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'include/ata.h')
-rw-r--r--include/ata.h2
1 files changed, 1 insertions, 1 deletions
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 */
OpenPOWER on IntegriCloud