From: Bo Shen Date: Tue, 17 Dec 2013 09:34:43 +0000 (+0800) Subject: arm: atmel: at91sam9x5: cleanup cs configure for spi X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=8d7b3638e97bb1393b4ecf835efead38ea5c1a34;p=u-boot.git arm: atmel: at91sam9x5: cleanup cs configure for spi As the cs for spi is worked in gpio mode, so no need to configure it as peripheral and then configure to gpio. Configure it to gpio directly. Signed-off-by: Bo Shen Signed-off-by: Andreas Bießmann --- diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c index 6f67c34a53..17a2a40b4b 100644 --- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c +++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c @@ -271,7 +271,6 @@ int board_init(void) #endif #ifdef CONFIG_ATMEL_SPI - at91_spi0_hw_init(1 << 0); at91_spi0_hw_init(1 << 4); #endif