Skip to content
Snippets Groups Projects
Commit 07a16f2a authored by Michal Simek's avatar Michal Simek Committed by Jagannadha Sutradharudu Teki
Browse files

microblaze: Call spi_init function


Initialization spi.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
Acked-by: default avatarStephan Linz <linz@li-pro.net>
Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
parent 097dc6c7
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <stdio_dev.h> #include <stdio_dev.h>
#include <serial.h> #include <serial.h>
#include <net.h> #include <net.h>
#include <spi.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/microblaze_intc.h> #include <asm/microblaze_intc.h>
...@@ -147,6 +148,10 @@ void board_init_f(ulong not_used) ...@@ -147,6 +148,10 @@ void board_init_f(ulong not_used)
} }
#endif #endif
#ifdef CONFIG_SPI
spi_init();
#endif
/* relocate environment function pointers etc. */ /* relocate environment function pointers etc. */
env_relocate(); env_relocate();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment