]> git.sur5r.net Git - u-boot/blobdiff - include/ata.h
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / include / ata.h
index 9d6f59c97bfaae7ea8482eb03468533465901d9c..3f4e4a0234e6b2d13ec093af4bebe670fad10766 100644 (file)
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
 
 #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 */