aboutsummaryrefslogtreecommitdiff
path: root/board/xilinx
diff options
context:
space:
mode:
authorMichal Simek2010-04-16 11:43:43 +0200
committerMichal Simek2010-04-16 12:15:33 +0200
commitb26640971a7ba8800f0eb32af145ff0727fe21fe (patch)
tree7ef0fbba57c03a9d3bf97585e93ebd88f45539a5 /board/xilinx
parent5bbcb6cf22b1121d8c3e56b0e1fb84366e903ac7 (diff)
microblaze: Move FSL initialization to board.c
Move FSL out of interrupt controller. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'board/xilinx')
-rw-r--r--board/xilinx/microblaze-generic/microblaze-generic.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze-generic/microblaze-generic.c
index f388b775c2e..838f1315b3f 100644
--- a/board/xilinx/microblaze-generic/microblaze-generic.c
+++ b/board/xilinx/microblaze-generic/microblaze-generic.c
@@ -60,10 +60,9 @@ void fsl_isr2 (void *arg) {
puts("*");
}
-void fsl_init2 (void) {
+int fsl_init2 (void) {
puts("fsl_init2\n");
- install_interrupt_handler (FSL_INTR_2,\
- fsl_isr2,\
- NULL);
+ install_interrupt_handler (FSL_INTR_2, fsl_isr2, NULL);
+ return 0;
}
#endif