]> git.sur5r.net Git - u-boot/blobdiff - common/spl/spl_usb.c
fpga: zynqmp: Add secure bitstream loading for ZynqMP
[u-boot] / common / spl / spl_usb.c
index e37966ed6cefb9a71c281ec9c1939a6231b6840a..c8d82318957940ec7d97155fdd66acdde6aefab5 100644 (file)
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2014
  * Texas Instruments, <www.ti.com>
  *
  * Dan Murphy <dmurphy@ti.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+
- *
  * Derived work from spl_mmc.c
  */
 
@@ -16,8 +15,6 @@
 #include <usb.h>
 #include <fat.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #ifdef CONFIG_USB_STORAGE
 static int usb_stor_curr_dev = -1; /* current device */
 #endif
@@ -65,4 +62,4 @@ static int spl_usb_load_image(struct spl_image_info *spl_image,
 
        return 0;
 }
-SPL_LOAD_IMAGE_METHOD(0, BOOT_DEVICE_USB, spl_usb_load_image);
+SPL_LOAD_IMAGE_METHOD("USB", 0, BOOT_DEVICE_USB, spl_usb_load_image);