summaryrefslogtreecommitdiff
path: root/nuttx/arch/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-07-28 15:07:35 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-07-28 15:07:35 -0600
commitc7afe17c3a5735de2ceb745d31b310edc682bd01 (patch)
treeb75f7a921aca04b045fb7bf9327dc39714fb3950 /nuttx/arch/Kconfig
parent5c113468456bce80cb669711d1580201c75e442b (diff)
downloadnuttx-c7afe17c3a5735de2ceb745d31b310edc682bd01.tar.gz
nuttx-c7afe17c3a5735de2ceb745d31b310edc682bd01.tar.bz2
nuttx-c7afe17c3a5735de2ceb745d31b310edc682bd01.zip
SAMA5: The ostest configuration have been converted to run out of NOR flash. There is more to be done, however
Diffstat (limited to 'nuttx/arch/Kconfig')
-rw-r--r--nuttx/arch/Kconfig84
1 files changed, 56 insertions, 28 deletions
diff --git a/nuttx/arch/Kconfig b/nuttx/arch/Kconfig
index 860222108..34026cff9 100644
--- a/nuttx/arch/Kconfig
+++ b/nuttx/arch/Kconfig
@@ -194,34 +194,6 @@ config ARCH_CALIBRATION
watch to measure the actual delay then adjust BOARD_LOOPSPERMSEC until
the actual delay is 100 seconds.
-config RAM_START
- hex "Primary RAM start address (physical)"
- default 0x0
- help
- The physical start address of primary installed RAM. "Primary" RAM
- refers to the RAM that you link program code into. If program code
- does not excecute out of RAM but from FLASH, then you may designate
- any block of RAM as "primary."
-
-config RAM_VSTART
- hex "Primary RAM start address (virtual)"
- default 0x0
- depends on ARCH_HAVE_MMU
- help
- The virtual start address of installed primary RAM. "Primary" RAM
- refers to the RAM that you link program code into. If program code
- does not excecute out of RAM but from FLASH, then you may designate
- any block of RAM as "primary."
-
-config RAM_SIZE
- int "Primary RAM size"
- default 0
- help
- The size in bytes of the installed primary RAM. "Primary" RAM
- refers to the RAM that you link program code into. If program code
- does not excecute out of RAM but from FLASH, then you may designate
- any block of RAM as "primary."
-
config ARCH_HAVE_INTERRUPTSTACK
bool
@@ -269,3 +241,59 @@ config BOOT_COPYTORAM
RAM for better performance.
endchoice
+
+menu "Boot Memory Configuration"
+
+config RAM_START
+ hex "Primary RAM start address (physical)"
+ default 0x0
+ help
+ The physical start address of primary installed RAM. "Primary" RAM
+ refers to the RAM that you link program code into. If program code
+ does not excecute out of RAM but from FLASH, then you may designate
+ any block of RAM as "primary."
+
+config RAM_VSTART
+ hex "Primary RAM start address (virtual)"
+ default 0x0
+ depends on ARCH_HAVE_MMU
+ help
+ The virtual start address of installed primary RAM. "Primary" RAM
+ refers to the RAM that you link program code into. If program code
+ does not excecute out of RAM but from FLASH, then you may designate
+ any block of RAM as "primary."
+
+config RAM_SIZE
+ int "Primary RAM size"
+ default 0
+ help
+ The size in bytes of the installed primary RAM. "Primary" RAM
+ refers to the RAM that you link program code into. If program code
+ does not excecute out of RAM but from FLASH, then you may designate
+ any block of RAM as "primary."
+
+if BOOT_RUNFROMFLASH && ARCH_HAVE_MMU
+
+config FLASH_START
+ hex "Boot FLASH start address (physical)"
+ default 0x0
+ help
+ The physical start address of installed boot FLASH. "Boot" FLASH
+ refers to the FLASH that you link program code into.
+
+config FLASH_VSTART
+ hex "Boot FLASH start address (virtual)"
+ default 0x0
+ help
+ The virtual start address of installed boot FLASH. "Boot" FLASH
+ refers to the FLASH that you link program code into.
+
+config FLASH_SIZE
+ int "Boot FLASH size"
+ default 0
+ help
+ The size in bytes of the installed boot FLASH. "Boot" FLASH
+ refers to the FLASH that you link program code into.
+
+endif
+endmenu