]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
AT91/SPI: fix atmel_dataflash_spi.c to allow building without warnings
authorReinhard Meyer <u-boot@emk-elektronik.de>
Tue, 2 Aug 2011 15:09:55 +0000 (15:09 +0000)
committerU-Boot <uboot@aari01-12.(none)>
Wed, 3 Aug 2011 11:00:56 +0000 (13:00 +0200)
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
drivers/spi/atmel_dataflash_spi.c

index e7d3ff0ac5c96eb12af1c2a0522f077a05ee21c5..363e07a53f978ec9641b02559f3b87bfb6bc892c 100644 (file)
  *
  */
 
+/*
+ * This driver desperately needs rework:
+ *
+ * - 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>