From: Michal Simek Date: Thu, 8 Aug 2013 13:28:11 +0000 (+0530) Subject: microblaze: Call spi_init function X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=07a16f2a9cb6cbb0fbce72e649c7be214d7f801a;p=u-boot.git microblaze: Call spi_init function Initialization spi. Signed-off-by: Michal Simek Acked-by: Stephan Linz Signed-off-by: Jagannadha Sutradharudu Teki --- diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index 8267191fde..f7182f27e9 100644 --- a/arch/microblaze/lib/board.c +++ b/arch/microblaze/lib/board.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -147,6 +148,10 @@ void board_init_f(ulong not_used) } #endif +#ifdef CONFIG_SPI + spi_init(); +#endif + /* relocate environment function pointers etc. */ env_relocate();