summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-04-16 11:43:43 +0200
committerMichal Simek <monstr@monstr.eu>2010-04-16 12:15:33 +0200
commitb26640971a7ba8800f0eb32af145ff0727fe21fe (patch)
tree7ef0fbba57c03a9d3bf97585e93ebd88f45539a5 /board
parent5bbcb6cf22b1121d8c3e56b0e1fb84366e903ac7 (diff)
downloadu-boot-imx-b26640971a7ba8800f0eb32af145ff0727fe21fe.zip
u-boot-imx-b26640971a7ba8800f0eb32af145ff0727fe21fe.tar.gz
u-boot-imx-b26640971a7ba8800f0eb32af145ff0727fe21fe.tar.bz2
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')
-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 f388b77..838f131 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