mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
AT91/SPI: fix atmel_dataflash_spi.c to allow building without warnings
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
This commit is contained in:
parent
97a470da03
commit
0c42791476
@ -19,10 +19,20 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 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 <uboot@emk-elektronik.de>
|
||||||
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#ifndef CONFIG_AT91_LEGACY
|
#ifndef CONFIG_ATMEL_LEGACY
|
||||||
# define CONFIG_AT91_LEGACY
|
# define CONFIG_ATMEL_LEGACY
|
||||||
# warning Please update to use C structure SoC access !
|
|
||||||
#endif
|
#endif
|
||||||
#include <spi.h>
|
#include <spi.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user