Merge branch 'master' of git://git.denx.de/u-boot-arm
[oweals/u-boot.git] / drivers / block / libata.c
index 90e9a43ca8178312f4babcd6a323b96da86e9553..d684270dcda18f2d9426042473e403a662c00c80 100644 (file)
@@ -3,21 +3,7 @@
  *             Dave Liu <daveliu@freescale.com>
  *             port from the libata of linux kernel
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- *
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <libata.h>
@@ -107,7 +93,7 @@ void ata_dump_id(u16 *id)
 
        /* Total sectors of device  */
        n_sectors = ata_id_n_sectors(id);
-       printf("Capablity: %d sectors\n\r", n_sectors);
+       printf("Capablity: %lld sectors\n\r", n_sectors);
 
        printf ("id[49]: capabilities = 0x%04x\n"
                "id[53]: field valid = 0x%04x\n"