summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorReinhard Meyer <u-boot@emk-elektronik.de>2011-06-06 00:05:56 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-06-21 22:26:22 +0200
commit576e7a10c4efce5f0167626ea427609994c74fdc (patch)
treef9c31db31748b6c56260a819ad011bf5e99880e0 /drivers/spi
parent9b372b2c8e00f2e9496f68001871c287220377f9 (diff)
downloadu-boot-imx-576e7a10c4efce5f0167626ea427609994c74fdc.zip
u-boot-imx-576e7a10c4efce5f0167626ea427609994c74fdc.tar.gz
u-boot-imx-576e7a10c4efce5f0167626ea427609994c74fdc.tar.bz2
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/atmel_dataflash_spi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/atmel_dataflash_spi.c b/drivers/spi/atmel_dataflash_spi.c
index 9c991e8..e7d3ff0 100644
--- a/drivers/spi/atmel_dataflash_spi.c
+++ b/drivers/spi/atmel_dataflash_spi.c
@@ -21,10 +21,9 @@
#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>