]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM64: zynqmp: Fix usb_gadget_handle_interrupt routine
authorMichal Simek <michal.simek@xilinx.com>
Thu, 1 Sep 2016 09:16:40 +0000 (11:16 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 26 Oct 2016 07:13:57 +0000 (09:13 +0200)
Function is defined in g_dnl.h and have different parameter
then it is used. This patch fixes it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c
include/configs/xilinx_zynqmp_mini.h

index eca916f01402559addb4fd8313e0ee618e4f5e68..f6680fcf35a6905ee985c90ecd88a131814a738e 100644 (file)
@@ -18,6 +18,7 @@
 #include <dwc3-uboot.h>
 #include <zynqmppl.h>
 #include <i2c.h>
+#include <g_dnl.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -424,9 +425,9 @@ static struct dwc3_device dwc3_device_data1 = {
        .index = 1,
 };
 
-int usb_gadget_handle_interrupts(void)
+int usb_gadget_handle_interrupts(int index)
 {
-       dwc3_uboot_handle_interrupt(0);
+       dwc3_uboot_handle_interrupt(index);
        return 0;
 }
 
index 16cb3bf5ad0f53fcc44b6f3dd39b961f3b8e80f8..3a2158d8f6bc28ca95fc17cbbc9fd4265667319f 100644 (file)
@@ -48,7 +48,6 @@
 #undef CONFIG_MP
 #undef CONFIG_SYS_MEMTEST_START
 #undef CONFIG_SYS_MEMTEST_END
-#undef CONFIG_SYS_CACHELINE_SIZE
 #undef CONFIG_SYS_INIT_SP_ADDR
 #undef CONFIG_SYS_LONGHELP
 #undef CONFIG_CMD_CACHE