mirror of
https://xff.cz/git/u-boot/
synced 2025-09-06 11:12:05 +02: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:
committed by
Jagannadha Sutradharudu Teki
parent
097dc6c7ec
commit
07a16f2a9c
@@ -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)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_SPI
|
||||||
|
spi_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* relocate environment function pointers etc. */
|
/* relocate environment function pointers etc. */
|
||||||
env_relocate();
|
env_relocate();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user