diff options
author | Michal Simek <monstr@monstr.eu> | 2010-04-16 09:43:43 (GMT) |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-04-16 10:15:33 (GMT) |
commit | b26640971a7ba8800f0eb32af145ff0727fe21fe (patch) | |
tree | 7ef0fbba57c03a9d3bf97585e93ebd88f45539a5 /board | |
parent | 5bbcb6cf22b1121d8c3e56b0e1fb84366e903ac7 (diff) | |
download | u-boot-b26640971a7ba8800f0eb32af145ff0727fe21fe.tar.xz |
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.c | 7 |
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 |