From 50b5fff55827946c86a60db8b21a9358be720666 Mon Sep 17 00:00:00 2001 From: Albin Tonnerre Date: Tue, 1 Sep 2009 11:26:20 +0200 Subject: at91sam9260/afeb9260: Fix SPI initialization Commit 7ebafb7ec1a0285af8380623c009576f92583b98 introduced a mistake in the spi init function call for those boards. This patch fixes this. Signed-off-by: Albin Tonnerre --- board/afeb9260/afeb9260.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/afeb9260/afeb9260.c') diff --git a/board/afeb9260/afeb9260.c b/board/afeb9260/afeb9260.c index 94a65c2..4652672 100644 --- a/board/afeb9260/afeb9260.c +++ b/board/afeb9260/afeb9260.c @@ -149,7 +149,7 @@ int board_init(void) #ifdef CONFIG_CMD_NAND afeb9260_nand_hw_init(); #endif - at91_spi0_hw_init((1 << 0) || (1 << 1)); + at91_spi0_hw_init((1 << 0) | (1 << 1)); #ifdef CONFIG_MACB afeb9260_macb_hw_init(); #endif -- cgit v1.1