]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-socfpga/fpga_manager.c
arm: socfpga: Fixes: include <debug_uart.h>
[u-boot] / arch / arm / mach-socfpga / fpga_manager.c
index 43fd2fedee86aeef0c908e96008b4204e13fad04..18d692c63144983d09a3e2085a7cee753177a849 100644 (file)
@@ -1,22 +1,19 @@
+// SPDX-License-Identifier: BSD-3-Clause
 /*
  * Copyright (C) 2012 Altera Corporation <www.altera.com>
  * All rights reserved.
  *
  * This file contains only support functions used also by the SoCFPGA
  * platform code, the real meat is located in drivers/fpga/socfpga.c .
- *
- * SPDX-License-Identifier:    BSD-3-Clause
  */
 
 #include <common.h>
 #include <asm/io.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <asm/arch/fpga_manager.h>
 #include <asm/arch/reset_manager.h>
 #include <asm/arch/system_manager.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /* Timeout count */
 #define FPGA_TIMEOUT_CNT               0x1000000