]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ATMEL spi_dataflash driver - fix to build again
authorReinhard Meyer <u-boot@emk-elektronik.de>
Mon, 6 Jun 2011 00:05:56 +0000 (00:05 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 21 Jun 2011 20:26:22 +0000 (22:26 +0200)
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>
drivers/spi/atmel_dataflash_spi.c

index 9c991e8cbca123a09b033c0f4d5a9ff9287d75c7..e7d3ff0ac5c96eb12af1c2a0522f077a05ee21c5 100644 (file)
 
 #include <common.h>
 #ifndef CONFIG_AT91_LEGACY
-# define CONFIG_ATMEL_LEGACY
+# define CONFIG_AT91_LEGACY
 # warning Please update to use C structure SoC access !
 #endif
-#include <common.h>
 #include <spi.h>
 #include <malloc.h>