mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
at91sam9260/afeb9260: Fix SPI initialization
Commit 7ebafb7ec1
introduced a mistake in the spi
init function call for those boards. This patch fixes this.
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
This commit is contained in:
parent
f3d4f8870e
commit
50b5fff558
2 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ int board_init(void)
|
||||||
#ifdef CONFIG_CMD_NAND
|
#ifdef CONFIG_CMD_NAND
|
||||||
afeb9260_nand_hw_init();
|
afeb9260_nand_hw_init();
|
||||||
#endif
|
#endif
|
||||||
at91_spi0_hw_init((1 << 0) || (1 << 1));
|
at91_spi0_hw_init((1 << 0) | (1 << 1));
|
||||||
#ifdef CONFIG_MACB
|
#ifdef CONFIG_MACB
|
||||||
afeb9260_macb_hw_init();
|
afeb9260_macb_hw_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -160,7 +160,7 @@ int board_init(void)
|
||||||
at91sam9260ek_nand_hw_init();
|
at91sam9260ek_nand_hw_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_HAS_DATAFLASH
|
#ifdef CONFIG_HAS_DATAFLASH
|
||||||
at91_spi0_hw_init((1 << 0) || (1 << 1));
|
at91_spi0_hw_init((1 << 0) | (1 << 1));
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_MACB
|
#ifdef CONFIG_MACB
|
||||||
at91sam9260ek_macb_hw_init();
|
at91sam9260ek_macb_hw_init();
|
||||||
|
|
Loading…
Add table
Reference in a new issue