spi: ich: Add TPL support
[oweals/u-boot.git] / drivers / spi / altera_spi.c
index c8dcb82150c135232cd4aec2beb34e628aa33764..e24deb4f71fac4f3fbc8f81a7b496ac7b9849ee7 100644 (file)
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Altera SPI driver
  *
  * based on bfin_spi.c
  * Copyright (c) 2005-2008 Analog Devices Inc.
  * Copyright (C) 2010 Thomas Chou <thomas@wytron.com.tw>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
 #include <dm.h>
@@ -15,8 +14,6 @@
 #include <spi.h>
 #include <asm/io.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define ALTERA_SPI_STATUS_RRDY_MSK     BIT(7)
 #define ALTERA_SPI_CONTROL_SSO_MSK     BIT(10)