summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/str71x
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-08 23:24:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-08 23:24:59 +0000
commita6c401c6f8ef2ad36d4cc76e2e94cc8a5fa71fc7 (patch)
tree947378478f9a3dd1f39913e9bac75a4400cb0c9c /nuttx/arch/arm/src/str71x
parent52e9bfad28de743e9072dbd9edf178dbc5b39a5d (diff)
downloadpx4-nuttx-a6c401c6f8ef2ad36d4cc76e2e94cc8a5fa71fc7.tar.gz
px4-nuttx-a6c401c6f8ef2ad36d4cc76e2e94cc8a5fa71fc7.tar.bz2
px4-nuttx-a6c401c6f8ef2ad36d4cc76e2e94cc8a5fa71fc7.zip
Add option to copy to RAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1689 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/str71x')
-rw-r--r--nuttx/arch/arm/src/str71x/str71x_head.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/str71x/str71x_head.S b/nuttx/arch/arm/src/str71x/str71x_head.S
index 72c08abcf..22164f198 100644
--- a/nuttx/arch/arm/src/str71x/str71x_head.S
+++ b/nuttx/arch/arm/src/str71x/str71x_head.S
@@ -1,7 +1,7 @@
/*****************************************************************************
* arch/arm/src/str71x/str71x_head.S
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -510,7 +510,7 @@ __flashstart:
/* Copy system .data sections to new home in RAM. */
-#ifdef CONFIG_BOOT_FROM_FLASH
+#ifdef CONFIG_BOOT_RUNFROMFLASH
adr r3, LC2
ldmia r3, {r0, r1, r2}
@@ -601,7 +601,7 @@ LC0: .long _sbss
.long _ebss
.long _ebss+CONFIG_IDLETHREAD_STACKSIZE-4
-#ifdef CONFIG_BOOT_FROM_FLASH
+#ifdef CONFIG_BOOT_RUNFROMFLASH
LC2: .long _eronly /* Where .data defaults are stored in FLASH */
.long _sdata /* Where .data needs to reside in SDRAM */
.long _edata