diff options
author | Reinhard Meyer <u-boot@emk-elektronik.de> | 2011-06-06 00:05:56 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-06-21 22:26:22 +0200 |
commit | 576e7a10c4efce5f0167626ea427609994c74fdc (patch) | |
tree | f9c31db31748b6c56260a819ad011bf5e99880e0 | |
parent | 9b372b2c8e00f2e9496f68001871c287220377f9 (diff) | |
download | u-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>
-rw-r--r-- | drivers/spi/atmel_dataflash_spi.c | 3 |
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> |