X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fspi%2Fatmel_dataflash_spi.c;h=363e07a53f978ec9641b02559f3b87bfb6bc892c;hb=f138ca1373d7ec9fca33ae21f1b5ff3898fd493f;hp=9c991e8cbca123a09b033c0f4d5a9ff9287d75c7;hpb=0ea91423f47461bf7eaed2d4aff198076dd07fd5;p=karo-tx-uboot.git diff --git a/drivers/spi/atmel_dataflash_spi.c b/drivers/spi/atmel_dataflash_spi.c index 9c991e8cbc..363e07a53f 100644 --- a/drivers/spi/atmel_dataflash_spi.c +++ b/drivers/spi/atmel_dataflash_spi.c @@ -19,12 +19,21 @@ * */ +/* + * This driver desperately needs rework: + * + * - use structure SoC access + * - get rid of including asm/arch/at91_spi.h + * - remove asm/arch/at91_spi.h + * - get rid of all CONFIG_ATMEL_LEGACY defines and uses + * + * 02-Aug-2010 Reinhard Meyer + */ + #include -#ifndef CONFIG_AT91_LEGACY +#ifndef CONFIG_ATMEL_LEGACY # define CONFIG_ATMEL_LEGACY -# warning Please update to use C structure SoC access ! #endif -#include #include #include