global: Move remaining CONFIG_SYS_NAND_* to CFG_SYS_NAND_*
[platform/kernel/u-boot.git] / board / gardena / smart-gateway-at91sam / spl.c
index 3ab6760..2807c4e 100644 (file)
@@ -53,10 +53,10 @@ static void at91sam9x5ek_nand_hw_init(void)
        at91_periph_clk_enable(ATMEL_ID_PIOCD);
 
        /* Configure RDY/BSY */
-       at91_set_gpio_input(CONFIG_SYS_NAND_READY_PIN, 1);
+       at91_set_gpio_input(CFG_SYS_NAND_READY_PIN, 1);
 
        /* Enable NandFlash */
-       at91_set_gpio_output(CONFIG_SYS_NAND_ENABLE_PIN, 1);
+       at91_set_gpio_output(CFG_SYS_NAND_ENABLE_PIN, 1);
 
        at91_pio3_set_a_periph(AT91_PIO_PORTD, 0, 1);   /* NAND OE */
        at91_pio3_set_a_periph(AT91_PIO_PORTD, 1, 1);   /* NAND WE */