]> git.sur5r.net Git - u-boot/blobdiff - drivers/spi/atmel_dataflash_spi.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[u-boot] / drivers / spi / atmel_dataflash_spi.c
index e7d3ff0ac5c96eb12af1c2a0522f077a05ee21c5..8a5eddcbfd5ee0f0a67c05c2a3941bb89d3c68f7 100644 (file)
@@ -2,27 +2,23 @@
  * Driver for ATMEL DataFlash support
  * Author : Hamid Ikdoumi (Atmel)
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+/*
+ * This driver desperately needs rework:
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * - use structure SoC access
+ * - get rid of including asm/arch/at91_spi.h
+ * - remove asm/arch/at91_spi.h
+ * - get rid of all CONFIG_ATMEL_LEGACY defines and uses
  *
+ * 02-Aug-2010 Reinhard Meyer <uboot@emk-elektronik.de>
  */
 
 #include <common.h>
-#ifndef CONFIG_AT91_LEGACY
-# define CONFIG_AT91_LEGACY
-# warning Please update to use C structure SoC access !
+#ifndef CONFIG_ATMEL_LEGACY
+# define CONFIG_ATMEL_LEGACY
 #endif
 #include <spi.h>
 #include <malloc.h>