]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/spi/spi_flash.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / drivers / mtd / spi / spi_flash.c
index 5e5bd5d533688e059bf6206d755def448c37dd42..2911729b289ed077996cf2cf0c1745fe187204f1 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * SPI Flash Core
  *
@@ -5,8 +6,6 @@
  * Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc.
  * Copyright (C) 2010 Reinhard Meyer, EMK Elektronik
  * Copyright (C) 2008 Atmel Corporation
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -21,8 +20,6 @@
 
 #include "sf_internal.h"
 
-DECLARE_GLOBAL_DATA_PTR;
-
 static void spi_flash_addr(u32 addr, u8 *cmd)
 {
        /* cmd[0] is actual command */