diff options
author | Wenyou.Yang@microchip.com <Wenyou.Yang@microchip.com> | 2017-07-21 13:40:11 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-04 20:38:36 -0400 |
commit | f166af88a898601f24c490aa8e2b555cfc2dfc91 (patch) | |
tree | 2ea5b7a933faa06f945fcd5d709482e1d2b1b20a /board/atmel | |
parent | 56a61e5e27ab5b9c9c9706f2a2b353880dc04f9d (diff) | |
download | u-boot-f166af88a898601f24c490aa8e2b555cfc2dfc91.tar.gz |
board: at91sam9260ek: Use SPI-flash-based AT45xxx DataFlash
To support driver model and device tree, use the SPI-flash-based
AT45xxx DataFlash driver, DataFlash is a kind of SPI flash.
Instead of ATMEL_DATAFLASH_SPI DataFlash older driver that will
be removed in the future.
Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/atmel')
-rw-r--r-- | board/atmel/at91sam9260ek/at91sam9260ek.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board/atmel/at91sam9260ek/at91sam9260ek.c b/board/atmel/at91sam9260ek/at91sam9260ek.c index b087fce9b8..d3ce947acf 100644 --- a/board/atmel/at91sam9260ek/at91sam9260ek.c +++ b/board/atmel/at91sam9260ek/at91sam9260ek.c @@ -87,10 +87,6 @@ int board_init(void) #ifdef CONFIG_CMD_NAND at91sam9260ek_nand_hw_init(); #endif -#ifdef CONFIG_HAS_DATAFLASH - at91_spi0_hw_init((1 << 0) | (1 << 1)); -#endif - return 0; } |