From 07a16f2a9cb6cbb0fbce72e649c7be214d7f801a Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Thu, 8 Aug 2013 18:58:11 +0530 Subject: [PATCH] microblaze: Call spi_init function Initialization spi. Signed-off-by: Michal Simek Acked-by: Stephan Linz Signed-off-by: Jagannadha Sutradharudu Teki --- arch/microblaze/lib/board.c | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- 2.39.5