summaryrefslogtreecommitdiff
path: root/board/xilinx
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-01-23 14:18:25 +0100
committerMichal Simek <michal.simek@xilinx.com>2013-02-04 12:09:50 +0100
commit14d315b8b3e974a7f617a9b4454fc579161fb75b (patch)
tree0fe75fe673185534a65f96550250f0c04f82bcf6 /board/xilinx
parent82b6a4764c4ff0ea9b23875b99452a230cbb75db (diff)
downloadu-boot-imx-14d315b8b3e974a7f617a9b4454fc579161fb75b.zip
u-boot-imx-14d315b8b3e974a7f617a9b4454fc579161fb75b.tar.gz
u-boot-imx-14d315b8b3e974a7f617a9b4454fc579161fb75b.tar.bz2
microblaze: Remove FSL support from generic board
This code was targetting one specific Microblaze platform configuration which is obsolete and fsl bus isn't used in this way. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r--board/xilinx/microblaze-generic/microblaze-generic.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze-generic/microblaze-generic.c
index b75e62c..70f94c1 100644
--- a/board/xilinx/microblaze-generic/microblaze-generic.c
+++ b/board/xilinx/microblaze-generic/microblaze-generic.c
@@ -53,29 +53,9 @@ int gpio_init (void)
return 0;
}
-#ifdef CONFIG_SYS_FSL_2
-void fsl_isr2 (void *arg) {
- volatile int num;
- *((unsigned int *)(CONFIG_SYS_GPIO_0_ADDR + 0x4)) =
- ++(*((unsigned int *)(CONFIG_SYS_GPIO_0_ADDR + 0x4)));
- GET (num, 2);
- NGET (num, 2);
- puts("*");
-}
-
-int fsl_init2 (void) {
- puts("fsl_init2\n");
- install_interrupt_handler (FSL_INTR_2, fsl_isr2, NULL);
- return 0;
-}
-#endif
-
void board_init(void)
{
gpio_init();
-#ifdef CONFIG_SYS_FSL_2
- fsl_init2();
-#endif
}
int board_eth_init(bd_t *bis)