projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097dc6c
)
microblaze: Call spi_init function
author
Michal Simek
<monstr@monstr.eu>
Thu, 8 Aug 2013 13:28:11 +0000
(18:58 +0530)
committer
Jagannadha Sutradharudu Teki
<jaganna@xilinx.com>
Thu, 8 Aug 2013 13:28:11 +0000
(18:58 +0530)
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>
arch/microblaze/lib/board.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/lib/board.c
b/arch/microblaze/lib/board.c
index 8267191fdec273af042d30f0917ce8e5be6a19a8..f7182f27e9d9d28b834afb76eb8ca5d4b5d5e107 100644
(file)
--- a/
arch/microblaze/lib/board.c
+++ b/
arch/microblaze/lib/board.c
@@
-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();