summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/sama5/sam_allocateheap.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-07-26 10:09:17 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-07-26 10:09:17 -0600
commitddb019413f39bbe495dba2a55c60f9ff8f8e00ce (patch)
tree9637f5cb852af32d6a500699ac6c16b25342dd8c /nuttx/arch/arm/src/sama5/sam_allocateheap.c
parent1e3a335beb36c0e88d75e449759d4fc54f4e299e (diff)
downloadpx4-nuttx-ddb019413f39bbe495dba2a55c60f9ff8f8e00ce.tar.gz
px4-nuttx-ddb019413f39bbe495dba2a55c60f9ff8f8e00ce.tar.bz2
px4-nuttx-ddb019413f39bbe495dba2a55c60f9ff8f8e00ce.zip
Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_
Diffstat (limited to 'nuttx/arch/arm/src/sama5/sam_allocateheap.c')
-rw-r--r--nuttx/arch/arm/src/sama5/sam_allocateheap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_allocateheap.c b/nuttx/arch/arm/src/sama5/sam_allocateheap.c
index ee0e02a4a..d84a67262 100644
--- a/nuttx/arch/arm/src/sama5/sam_allocateheap.c
+++ b/nuttx/arch/arm/src/sama5/sam_allocateheap.c
@@ -62,7 +62,7 @@
*
* We cannot add the region if it is if we are executing from it! In that
* case, the remainder of the memory will automatically be added to the heap
- * based on g_idle_topstack and CONFIG_DRAM_END
+ * based on g_idle_topstack and CONFIG_RAM_END
*/
#if defined(CONFIG_SAMA5_BOOT_ISRAM)
@@ -108,17 +108,17 @@
*
* - Internal SRAM is the "primary" RAM region in the case where we are
* executing from internal SRAM. In that case, g_idle_topstack points
- * into internal SRAM and CONFIG_DRAM_END is the end of internal SRAM.
+ * into internal SRAM and CONFIG_RAM_END is the end of internal SRAM.
*/
#if defined(CONFIG_BOOT_RUNFROMISRAM) && defined(PGTABLE_IN_HIGHSRAM) && \
(!defined(CONFIG_NUTTX_KERNEL) || !defined(CONFIG_MM_KERNEL_HEAP))
-# define ADJUSTED_RAM_END (CONFIG_DRAM_END-PGTABLE_SIZE)
+# define ADJUSTED_RAM_END (CONFIG_RAM_END-PGTABLE_SIZE)
/* Otherwise, the heap extends to the end of the primary RAM */
#else
-# define ADJUSTED_RAM_END CONFIG_DRAM_END
+# define ADJUSTED_RAM_END CONFIG_RAM_END
#endif
/****************************************************************************