diff options
author | Wenyou.Yang@microchip.com <Wenyou.Yang@microchip.com> | 2017-07-21 13:40:09 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-04 20:38:35 -0400 |
commit | eab36f6d7bff9b228c964fb53d6ae54cfff5b363 (patch) | |
tree | 8d452e24001f634715d41ae225e88b525d2901c6 /board | |
parent | 324873e7c268338dd2ba84c1fab4340ab68a312c (diff) | |
download | u-boot-eab36f6d7bff9b228c964fb53d6ae54cfff5b363.tar.gz u-boot-eab36f6d7bff9b228c964fb53d6ae54cfff5b363.tar.xz u-boot-eab36f6d7bff9b228c964fb53d6ae54cfff5b363.zip |
board: at91sam9263ek: 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')
-rw-r--r-- | board/atmel/at91sam9263ek/at91sam9263ek.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c index 9fa689399f..bb06e5667a 100644 --- a/board/atmel/at91sam9263ek/at91sam9263ek.c +++ b/board/atmel/at91sam9263ek/at91sam9263ek.c @@ -205,10 +205,6 @@ int board_init(void) #ifdef CONFIG_CMD_NAND at91sam9263ek_nand_hw_init(); #endif -#ifdef CONFIG_HAS_DATAFLASH - at91_set_pio_output(AT91_PIO_PORTE, 20, 1); /* select spi0 clock */ - at91_spi0_hw_init(1 << 0); -#endif #ifdef CONFIG_USB_OHCI_NEW at91_uhp_hw_init(); #endif |