summaryrefslogtreecommitdiff
path: root/cpu/at32ap/at32ap700x/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/at32ap/at32ap700x/gpio.c')
-rw-r--r--cpu/at32ap/at32ap700x/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/at32ap/at32ap700x/gpio.c b/cpu/at32ap/at32ap700x/gpio.c
index 56ba2f90c69..91bb6365925 100644
--- a/cpu/at32ap/at32ap700x/gpio.c
+++ b/cpu/at32ap/at32ap700x/gpio.c
@@ -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);