]> git.sur5r.net Git - u-boot/blobdiff - drivers/spi/rk_spi.c
soc: zynqmp: Update required API version to 1.0
[u-boot] / drivers / spi / rk_spi.c
index 03d3fa6763da0bd1c3a103512732fd3fa2ffa37a..14437c0a9afe65808786fea09109f97dbef94680 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * spi driver for rockchip
  *
@@ -5,8 +6,6 @@
  *
  * (C) Copyright 2008-2013 Rockchip Electronics
  * Peter, Software Engineering, <superpeter.cai@gmail.com>.
- *
- * SPDX-License-Identifier:     GPL-2.0+
  */
 
 #include <common.h>
@@ -22,8 +21,6 @@
 #include <dm/pinctrl.h>
 #include "rk_spi.h"
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /* Change to 1 to output registers at the start of each transaction */
 #define DEBUG_RK_SPI   0