]> git.sur5r.net Git - u-boot/blobdiff - drivers/ddr/altera/sdram.c
ARM: socfpga: Repair A10 EMAC reset handling
[u-boot] / drivers / ddr / altera / sdram.c
index e74c5b039ece319ae4321d8ee6251b83cce911f3..821060459cf143af860ef749666f71af9f90772c 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright Altera Corporation (C) 2014-2015
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
 #include <errno.h>
@@ -12,8 +11,6 @@
 #include <asm/arch/system_manager.h>
 #include <asm/io.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct sdram_prot_rule {
        u32     sdram_start;    /* SDRAM start address */
        u32     sdram_end;      /* SDRAM end address */