diff options
author | Michal Simek <monstr@monstr.eu> | 2010-04-16 11:43:43 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-04-16 12:15:33 +0200 |
commit | b26640971a7ba8800f0eb32af145ff0727fe21fe (patch) | |
tree | 7ef0fbba57c03a9d3bf97585e93ebd88f45539a5 /board/xilinx/microblaze-generic/microblaze-generic.c | |
parent | 5bbcb6cf22b1121d8c3e56b0e1fb84366e903ac7 (diff) | |
download | u-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/xilinx/microblaze-generic/microblaze-generic.c')
-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 |