global: Move remaining CONFIG_SYS_NAND_* to CFG_SYS_NAND_*
[platform/kernel/u-boot.git] / board / siemens / taurus / taurus.c
index 6c44afb..47d3f6a 100644 (file)
@@ -41,8 +41,8 @@ DECLARE_GLOBAL_DATA_PTR;
 
 static void taurus_request_gpio(void)
 {
-       gpio_request(CONFIG_SYS_NAND_ENABLE_PIN, "nand ena");
-       gpio_request(CONFIG_SYS_NAND_READY_PIN, "nand rdy");
+       gpio_request(CFG_SYS_NAND_ENABLE_PIN, "nand ena");
+       gpio_request(CFG_SYS_NAND_READY_PIN, "nand rdy");
        gpio_request(AT91_PIN_PA25, "ena PHY");
 }
 
@@ -73,10 +73,10 @@ static void taurus_nand_hw_init(void)
               &smc->cs[3].mode);
 
        /* 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);
 }
 
 #if defined(CONFIG_SPL_BUILD)
@@ -149,7 +149,7 @@ void spl_board_init(void)
                } else {
                        puts("erase spi flash sector 0\n");
                        spi_flash_erase(flash, 0,
-                                       CONFIG_SYS_NAND_U_BOOT_SIZE);
+                                       CFG_SYS_NAND_U_BOOT_SIZE);
                }
        }
 }