rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git] / cpu / at32ap / at32ap700x / gpio.c
index 56ba2f9..91bb636 100644 (file)
@@ -33,8 +33,8 @@
  */
 void gpio_enable_ebi(void)
 {
-#ifdef CFG_HSDRAMC
-#ifndef CFG_SDRAM_16BIT
+#ifdef CONFIG_SYS_HSDRAMC
+#ifndef CONFIG_SYS_SDRAM_16BIT
        gpio_select_periph_A(GPIO_PIN_PE0, 0);
        gpio_select_periph_A(GPIO_PIN_PE1, 0);
        gpio_select_periph_A(GPIO_PIN_PE2, 0);