Skip to contentSkip to conversation

ATMEL spi_dataflash driver - fix to build again

PATCH New Reinhard Meyer 1 participant 2 messages Jun 6, 2011 – Jun 7, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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!

---
 drivers/spi/atmel_dataflash_spi.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 drivers/spi/atmel_dataflash_spi.c
drivers/spi/atmel_dataflash_spi.c +1 -2
index 9c991e8..e7d3ff0
@@ -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>
 
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 ATMEL spi_dataflash driver - fix to build again

Dear Reinhard Meyer,

Quoted 8 lines

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!

---
 drivers/spi/atmel_dataflash_spi.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Applied to u-boot-atmel/master, thanks.