aboutsummaryrefslogtreecommitdiff
path: root/nuttx/configs/ea3152/src
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ea3152/src')
-rw-r--r--nuttx/configs/ea3152/src/Makefile2
-rw-r--r--nuttx/configs/ea3152/src/ea3152_internal.h2
-rw-r--r--nuttx/configs/ea3152/src/up_boot.c2
-rw-r--r--nuttx/configs/ea3152/src/up_mem.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/configs/ea3152/src/Makefile b/nuttx/configs/ea3152/src/Makefile
index cb945f5aa..c184838d5 100644
--- a/nuttx/configs/ea3152/src/Makefile
+++ b/nuttx/configs/ea3152/src/Makefile
@@ -44,7 +44,7 @@ CSRCS = up_boot.c up_clkinit.c
ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c
endif
-ifeq ($(CONFIG_LPC31_EXTSDRAM),y)
+ifeq ($(CONFIG_ARCH_EXTDRAM),y)
CSRCS += up_mem.c
endif
ifeq ($(CONFIG_ARCH_LEDS),y)
diff --git a/nuttx/configs/ea3152/src/ea3152_internal.h b/nuttx/configs/ea3152/src/ea3152_internal.h
index ee93c36a1..84fab1338 100644
--- a/nuttx/configs/ea3152/src/ea3152_internal.h
+++ b/nuttx/configs/ea3152/src/ea3152_internal.h
@@ -86,7 +86,7 @@
*
************************************************************************************/
-#ifdef CONFIG_LPC31_EXTSDRAM
+#ifdef CONFIG_ARCH_EXTDRAM
extern void lpc31_meminitialize(void);
#endif
diff --git a/nuttx/configs/ea3152/src/up_boot.c b/nuttx/configs/ea3152/src/up_boot.c
index c8870cfdf..066808b2f 100644
--- a/nuttx/configs/ea3152/src/up_boot.c
+++ b/nuttx/configs/ea3152/src/up_boot.c
@@ -75,7 +75,7 @@ void lpc31_boardinitialize(void)
{
/* Initialize configured, external memory resources */
-#ifdef CONFIG_LPC31_EXTSDRAM
+#ifdef CONFIG_ARCH_EXTDRAM
lpc31_meminitialize();
#endif
diff --git a/nuttx/configs/ea3152/src/up_mem.c b/nuttx/configs/ea3152/src/up_mem.c
index 4f6c71e87..4ac716f06 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_LPC31_EXTSDRAM
+#ifdef CONFIG_ARCH_EXTDRAM
/****************************************************************************
* Pre-processor Definitions
@@ -356,4 +356,4 @@ void lpc31_meminitialize(void)
lpc31_sdraminitialize();
}
-#endif /* CONFIG_LPC31_EXTSDRAM */
+#endif /* CONFIG_ARCH_EXTDRAM */