summaryrefslogtreecommitdiff
path: root/cpu/at32ap/hsdramc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/at32ap/hsdramc.c')
-rw-r--r--cpu/at32ap/hsdramc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/at32ap/hsdramc.c b/cpu/at32ap/hsdramc.c
index 992612b4627..f74121cd462 100644
--- a/cpu/at32ap/hsdramc.c
+++ b/cpu/at32ap/hsdramc.c
@@ -21,7 +21,7 @@
*/
#include <common.h>
-#ifdef CFG_HSDRAMC
+#ifdef CONFIG_SYS_HSDRAMC
#include <asm/io.h>
#include <asm/sdram.h>
@@ -117,4 +117,4 @@ unsigned long sdram_init(void *sdram_base, const struct sdram_config *config)
return sdram_size;
}
-#endif /* CFG_HSDRAMC */
+#endif /* CONFIG_SYS_HSDRAMC */