]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/xilinx/microblaze-generic/microblaze-generic.c
microblaze: Remove FSL support from generic board
[karo-tx-uboot.git] / board / xilinx / microblaze-generic / microblaze-generic.c
index a1e2bfee872b8e84a62a80de1d7b8660b660996f..70f94c1a5973a12be8ae2ccf93f78a4390ef9f4a 100644 (file)
@@ -28,6 +28,7 @@
 #include <common.h>
 #include <config.h>
 #include <netdev.h>
+#include <asm/processor.h>
 #include <asm/microblaze_intc.h>
 #include <asm/asm.h>
 
@@ -52,22 +53,10 @@ 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;
+void board_init(void)
+{
+       gpio_init();
 }
-#endif
 
 int board_eth_init(bd_t *bis)
 {