summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc313x/lpc313x_boot.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-05 02:05:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-05 02:05:33 +0000
commitd9a124c4ea54ff065853f43a056670ecf14e523d (patch)
tree7383762014de9727e7e8165f0260ee1ce94c39bf /nuttx/arch/arm/src/lpc313x/lpc313x_boot.c
parentce45c0aa761a8805df73e322a839d623c1cedf4e (diff)
downloadpx4-nuttx-d9a124c4ea54ff065853f43a056670ecf14e523d.tar.gz
px4-nuttx-d9a124c4ea54ff065853f43a056670ecf14e523d.tar.bz2
px4-nuttx-d9a124c4ea54ff065853f43a056670ecf14e523d.zip
boardinit call doesn't depend on CONFIG_ARCH_LEDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2920 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc313x/lpc313x_boot.c')
-rwxr-xr-xnuttx/arch/arm/src/lpc313x/lpc313x_boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_boot.c b/nuttx/arch/arm/src/lpc313x/lpc313x_boot.c
index 4e96e60c8..cd3de31ae 100755
--- a/nuttx/arch/arm/src/lpc313x/lpc313x_boot.c
+++ b/nuttx/arch/arm/src/lpc313x/lpc313x_boot.c
@@ -92,8 +92,10 @@ static const struct section_mapping_s section_mapping[] =
{
{ LPC313X_SHADOWSPACE_PSECTION, LPC313X_SHADOWSPACE_VSECTION,
LPC313X_SHADOWSPACE_MMUFLAGS, LPC313X_SHADOWSPACE_NSECTIONS},
+#ifndef CONFIG_PAGING /* SRAM is already fully mapped */
{ LPC313X_INTSRAM_PSECTION, LPC313X_INTSRAM_VSECTION,
LPC313X_INTSRAM_MMUFLAGS, LPC313X_INTSRAM_NSECTIONS},
+#endif
#ifdef CONFIG_ARCH_ROMPGTABLE
{ LPC313X_INTSROM0_PSECTION, LPC313X_INTSROM0_VSECTION,
LPC313X_INTSROM_MMUFLAGS, LPC313X_INTSROM0_NSECTIONS},
@@ -392,7 +394,5 @@ void up_boot(void)
/* Perform board-specific initialization */
-#ifdef CONFIG_ARCH_LEDS
lpc313x_boardinitialize();
-#endif
}