]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
microblaze: Remove FSL support from generic board
authorMichal Simek <michal.simek@xilinx.com>
Wed, 23 Jan 2013 13:18:25 +0000 (14:18 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 4 Feb 2013 11:09:50 +0000 (12:09 +0100)
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>
board/xilinx/microblaze-generic/microblaze-generic.c
include/configs/microblaze-generic.h

index b75e62c715d8e930fdd885629cd33da3313cd010..70f94c1a5973a12be8ae2ccf93f78a4390ef9f4a 100644 (file)
@@ -53,29 +53,9 @@ int gpio_init (void)
        return 0;
 }
 
        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();
 void board_init(void)
 {
        gpio_init();
-#ifdef CONFIG_SYS_FSL_2
-       fsl_init2();
-#endif
 }
 
 int board_eth_init(bd_t *bis)
 }
 
 int board_eth_init(bd_t *bis)
index eed38c165f0cf9bb259be4970906f76800969b10..d172e56bcfca55f53d81987c6fc9e3036c3b4a28 100644 (file)
 #  define CONFIG_SYS_TIMER_0_IRQ       XILINX_TIMER_IRQ
 #endif
 
 #  define CONFIG_SYS_TIMER_0_IRQ       XILINX_TIMER_IRQ
 #endif
 
-/* FSL */
-/* #define     CONFIG_SYS_FSL_2 */
-/* #define     FSL_INTR_2      1 */
-
 /*
  * memory layout - Example
  * CONFIG_SYS_TEXT_BASE = 0x1200_0000; defined in config.mk
 /*
  * memory layout - Example
  * CONFIG_SYS_TEXT_BASE = 0x1200_0000; defined in config.mk