diff options
Diffstat (limited to 'arch/arm/Kconfig-nommu')
| -rw-r--r-- | arch/arm/Kconfig-nommu | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/Kconfig-nommu b/arch/arm/Kconfig-nommu new file mode 100644 index 000000000000..e1574be2ded6 --- /dev/null +++ b/arch/arm/Kconfig-nommu | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | # | ||
| 2 | # Kconfig for uClinux(non-paged MM) depend configurations | ||
| 3 | # Hyok S. Choi <hyok.choi@samsung.com> | ||
| 4 | # | ||
| 5 | |||
| 6 | config SET_MEM_PARAM | ||
| 7 | bool "Set flash/sdram size and base addr" | ||
| 8 | help | ||
| 9 | Say Y to manually set the base addresses and sizes. | ||
| 10 | otherwise, the default values are assigned. | ||
| 11 | |||
| 12 | config DRAM_BASE | ||
| 13 | hex '(S)DRAM Base Address' if SET_MEM_PARAM | ||
| 14 | default 0x00800000 | ||
| 15 | |||
| 16 | config DRAM_SIZE | ||
| 17 | hex '(S)DRAM SIZE' if SET_MEM_PARAM | ||
| 18 | default 0x00800000 | ||
| 19 | |||
| 20 | config FLASH_MEM_BASE | ||
| 21 | hex 'FLASH Base Address' if SET_MEM_PARAM | ||
| 22 | default 0x00400000 | ||
| 23 | |||
| 24 | config FLASH_SIZE | ||
| 25 | hex 'FLASH Size' if SET_MEM_PARAM | ||
| 26 | default 0x00400000 | ||
| 27 | |||
| 28 | config REMAP_VECTORS_TO_RAM | ||
| 29 | bool 'Install vectors to the begining of RAM' if DRAM_BASE | ||
| 30 | depends on DRAM_BASE | ||
| 31 | help | ||
| 32 | The kernel needs to change the hardware exception vectors. | ||
| 33 | In nommu mode, the hardware exception vectors are normally | ||
| 34 | placed at address 0x00000000. However, this region may be | ||
| 35 | occupied by read-only memory depending on H/W design. | ||
| 36 | |||
| 37 | If the region contains read-write memory, say 'n' here. | ||
| 38 | |||
| 39 | If your CPU provides a remap facility which allows the exception | ||
| 40 | vectors to be mapped to writable memory, say 'n' here. | ||
| 41 | |||
| 42 | Otherwise, say 'y' here. In this case, the kernel will require | ||
| 43 | external support to redirect the hardware exception vectors to | ||
| 44 | the writable versions located at DRAM_BASE. | ||
