Jelajahi Sumber

ATMEL spi_dataflash driver - fix to build again

The rework effort for ATMEL (AT91/AVR32) accidentially broke build of
this driver. Fix this to make it build again. However this driver should
be reworked as soon as possible!

Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
Reinhard Meyer 14 tahun lalu
induk
melakukan
576e7a10c4
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      drivers/spi/atmel_dataflash_spi.c

+ 1 - 2
drivers/spi/atmel_dataflash_spi.c

@@ -21,10 +21,9 @@
 
 
 #include <common.h>
 #include <common.h>
 #ifndef CONFIG_AT91_LEGACY
 #ifndef CONFIG_AT91_LEGACY
-# define CONFIG_ATMEL_LEGACY
+# define CONFIG_AT91_LEGACY
 # warning Please update to use C structure SoC access !
 # warning Please update to use C structure SoC access !
 #endif
 #endif
-#include <common.h>
 #include <spi.h>
 #include <spi.h>
 #include <malloc.h>
 #include <malloc.h>