nios2 : convert altera_pio to driver model
[oweals/u-boot.git] / board / altera / nios2-generic / nios2-generic.c
index 384fee9b75d4a3e15f49747a9766ac02854c3263..cb98a08895548eeb80b56d833f68ebbaa5ee8dc0 100644 (file)
@@ -35,18 +35,6 @@ int board_early_init_f(void)
        return 0;
 }
 
-int board_early_init_r(void)
-{
-#ifdef CONFIG_ALTERA_PIO
-#ifdef LED_PIO_BASE
-       altera_pio_init(LED_PIO_BASE, LED_PIO_WIDTH, 'o',
-                       LED_PIO_RSTVAL, (1 << LED_PIO_WIDTH) - 1,
-                       "led");
-#endif
-#endif
-       return 0;
-}
-
 int checkboard(void)
 {
        printf("BOARD : %s\n", CONFIG_BOARD_NAME);