summaryrefslogtreecommitdiff
path: root/nuttx/arch/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-06 20:08:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-06 20:08:25 +0000
commit80f9004741771691132a0f43ae1d9d5c42a2e4c6 (patch)
tree61009589a64a1da1da08d7cbf172f787ddce53d7 /nuttx/arch/Kconfig
parent5145d9b874af56efe686065c615dd75a54d7ee77 (diff)
downloadnuttx-80f9004741771691132a0f43ae1d9d5c42a2e4c6.tar.gz
nuttx-80f9004741771691132a0f43ae1d9d5c42a2e4c6.tar.bz2
nuttx-80f9004741771691132a0f43ae1d9d5c42a2e4c6.zip
Add LPC31 Kconfig
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5104 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/Kconfig')
-rw-r--r--nuttx/arch/Kconfig53
1 files changed, 50 insertions, 3 deletions
diff --git a/nuttx/arch/Kconfig b/nuttx/arch/Kconfig
index 90bc4da91..0c124b242 100644
--- a/nuttx/arch/Kconfig
+++ b/nuttx/arch/Kconfig
@@ -119,11 +119,58 @@ config BOARD_LOOPSPERMSEC
is 100 seconds.
config DRAM_START
- hex "DRAM start address"
+ hex "DRAM start physical address"
help
- The physical start address of installed RAM.
+ The physical start address of installed RAM. Despite the naming,
+ this may be SDRAM or SRAM or any other RAM technology that support
+ program execution.
+
+config DRAM_VSTART
+ hex "DRAM start virtual address"
+ depends on ARCH_HAVE_MMU
+ help
+ The virtual start address of installed RAM. Despite the naming,
+ this may be SDRAM or SRAM or any other RAM technology that support
+ program execution.
config DRAM_SIZE
int "DRAM size"
help
- The size in bytes of the installed RAM.
+ The size in bytes of the installed RAM. Despite the naming,
+ this may be SDRAM or SRAM or any other RAM technology that support
+ program execution.
+
+comment "Boot options"
+
+choice
+ prompt "LPC31xx Boot Mode"
+ default BOOT_RUNFROMFLASH
+
+config BOOT_RUNFROMEXTSRAM
+ bool "Run from external SRAM"
+ ---help---
+ Some configuration support booting and running from external SRAM.
+
+config BOOT_RUNFROMFLASH
+ bool "Boot and run from flash"
+ ---help---
+ Most configurations support XIP operation from FLASH but must copy
+ initialized .data sections to RAM. (This is the default).
+
+config BOOT_RUNFROMISRAM
+ bool "Boot and run from internal SRAM"
+ ---help---
+ Some configuration support booting and running from internal SRAM.
+
+config BOOT_RUNFROMSDRAM
+ bool "Boot and run from external SDRAM"
+ ---help---
+ Some configuration support booting and running from external SDRAM.
+
+config BOOT_COPYTORAM
+ bool "Boot from FLASH but copy to ram"
+ ---help---
+ Some configurations boot in FLASH but copy themselves entirely into
+ RAM for better performance.
+
+endchoice