global: Move remaining CONFIG_SYS_NAND_* to CFG_SYS_NAND_*
[platform/kernel/u-boot.git] / board / ronetix / pm9263 / pm9263.c
index 8684e52..76f62dd 100644 (file)
@@ -62,27 +62,13 @@ static void pm9263_nand_hw_init(void)
                &smc->cs[3].mode);
 
        /* Configure RDY/BSY */
-       gpio_direction_input(CONFIG_SYS_NAND_READY_PIN);
+       gpio_direction_input(CFG_SYS_NAND_READY_PIN);
 
        /* Enable NandFlash */
-       gpio_direction_output(CONFIG_SYS_NAND_ENABLE_PIN, 1);
+       gpio_direction_output(CFG_SYS_NAND_ENABLE_PIN, 1);
 }
 #endif
 
-#ifdef CONFIG_LCD
-
-static void pm9263_lcd_hw_init(void)
-{
-       /* Power Control */
-       at91_set_pio_output(AT91_PIO_PORTA, 22, 1);
-       at91_set_pio_value(AT91_PIO_PORTA, 22, 0);      /* power down */
-
-       gd->fb_base = ATMEL_BASE_SRAM0;
-
-}
-
-#endif /* CONFIG_LCD */
-
 int board_early_init_f(void)
 {
        return 0;
@@ -102,9 +88,6 @@ int board_init(void)
 #ifdef CONFIG_USB_OHCI_NEW
        at91_uhp_hw_init();
 #endif
-#ifdef CONFIG_LCD
-       pm9263_lcd_hw_init();
-#endif
        return 0;
 }