]> git.sur5r.net Git - u-boot/blobdiff - drivers/dfu/dfu_sf.c
usb: dwc2: Add brcm,bcm2708-usb compatible
[u-boot] / drivers / dfu / dfu_sf.c
index 2b26f2c60843b43f55b6ce5b318796a64fd1d38a..066e7670d1b939c55e4bff6af16a082ceeaf753e 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
- *
- * SPDX-License-Identifier: GPL-2.0+
  */
 
 #include <common.h>
@@ -12,7 +11,7 @@
 #include <spi.h>
 #include <spi_flash.h>
 
-static int dfu_get_medium_size_sf(struct dfu_entity *dfu, long *size)
+static int dfu_get_medium_size_sf(struct dfu_entity *dfu, u64 *size)
 {
        *size = dfu->data.sf.size;