mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
microblaze: Call spi_init function
Initialization spi. Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stephan Linz <linz@li-pro.net> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
This commit is contained in:
parent
097dc6c7ec
commit
07a16f2a9c
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
#include <stdio_dev.h>
|
||||
#include <serial.h>
|
||||
#include <net.h>
|
||||
#include <spi.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/microblaze_intc.h>
|
||||
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue