summaryrefslogtreecommitdiff
path: root/nuttx/configs/ea3152/src/up_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ea3152/src/up_mem.c')
-rw-r--r--nuttx/configs/ea3152/src/up_mem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/ea3152/src/up_mem.c b/nuttx/configs/ea3152/src/up_mem.c
index 5eae04e0f..4f6c71e87 100644
--- a/nuttx/configs/ea3152/src/up_mem.c
+++ b/nuttx/configs/ea3152/src/up_mem.c
@@ -59,7 +59,7 @@
#include "lpc31_mpmc.h"
#include "ea3152_internal.h"
-#ifdef CONFIG_LPC31XX_EXTSDRAM
+#ifdef CONFIG_LPC31_EXTSDRAM
/****************************************************************************
* Pre-processor Definitions
@@ -164,8 +164,8 @@ static void lpc31_sdraminitialize(void)
* replaced with an apriori value.
*/
-#ifdef CONFIG_LPC31XX_SDRAMHCLK
-# define HCLK CONFIG_LPC31XX_SDRAMHCLK
+#ifdef CONFIG_LPC31_SDRAMHCLK
+# define HCLK CONFIG_LPC31_SDRAMHCLK
#else
uint32_t hclk = lpc31_clkfreq(CLKID_MPMCCFGCLK2, DOMAINID_SYS);
# define HCLK hclk
@@ -356,4 +356,4 @@ void lpc31_meminitialize(void)
lpc31_sdraminitialize();
}
-#endif /* CONFIG_LPC31XX_EXTSDRAM */
+#endif /* CONFIG_LPC31_EXTSDRAM */