summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc31xx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-07-26 17:26:53 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-07-26 17:26:53 -0600
commit94180157df88ff16132699cae16ef22c91cda5a3 (patch)
treeeb7374872607acaca72ae700542e99b9f3074d6a /nuttx/arch/arm/src/lpc31xx
parentd691370b893a9ff86b86a226623e86782bbd75ae (diff)
downloadnuttx-94180157df88ff16132699cae16ef22c91cda5a3.tar.gz
nuttx-94180157df88ff16132699cae16ef22c91cda5a3.tar.bz2
nuttx-94180157df88ff16132699cae16ef22c91cda5a3.zip
Correct an error in Cortex-A5 intermediate MMU mapping
Diffstat (limited to 'nuttx/arch/arm/src/lpc31xx')
-rw-r--r--nuttx/arch/arm/src/lpc31xx/lpc31_memorymap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lpc31xx/lpc31_memorymap.h b/nuttx/arch/arm/src/lpc31xx/lpc31_memorymap.h
index dfe2bc16d..ba77c7eea 100644
--- a/nuttx/arch/arm/src/lpc31xx/lpc31_memorymap.h
+++ b/nuttx/arch/arm/src/lpc31xx/lpc31_memorymap.h
@@ -247,12 +247,16 @@
#if defined(CONFIG_BOOT_RUNFROMFLASH)
# define NUTTX_START_VADDR LPC31_MPMC_VADDR
+# define NUTTX_START_PADDR LPC31_MPMC_PADDR
#elif defined(CONFIG_BOOT_RUNFROMSDRAM)
# define NUTTX_START_VADDR LPC31_EXTSDRAM0_VSECTION
+# define NUTTX_START_PADDR LPC31_EXTSDRAM0_PSECTION
#elif defined(CONFIG_BOOT_RUNFROMEXTSRAM)
# define NUTTX_START_VADDR LPC31_EXTSRAM0_VADDR
+# define NUTTX_START_PADDR LPC31_EXTSRAM0_PADDR
#else /* CONFIG_BOOT_RUNFROMISRAM, CONFIG_PAGING */
# define NUTTX_START_VADDR LPC31_INTSRAM0_VADDR
+# define NUTTX_START_PADDR LPC31_INTSRAM0_PADDR
#endif
/* Determine the address of the MMU page table. We will try to place that page