Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Hyok S. Choi | f8c07de | 2006-03-27 15:14:19 +0100 | [diff] [blame] | 2 | # |
| 3 | # Kconfig for uClinux(non-paged MM) depend configurations |
| 4 | # Hyok S. Choi <hyok.choi@samsung.com> |
| 5 | # |
| 6 | |
| 7 | config SET_MEM_PARAM |
| 8 | bool "Set flash/sdram size and base addr" |
| 9 | help |
| 10 | Say Y to manually set the base addresses and sizes. |
| 11 | otherwise, the default values are assigned. |
| 12 | |
| 13 | config DRAM_BASE |
| 14 | hex '(S)DRAM Base Address' if SET_MEM_PARAM |
| 15 | default 0x00800000 |
| 16 | |
| 17 | config DRAM_SIZE |
| 18 | hex '(S)DRAM SIZE' if SET_MEM_PARAM |
| 19 | default 0x00800000 |
| 20 | |
| 21 | config FLASH_MEM_BASE |
| 22 | hex 'FLASH Base Address' if SET_MEM_PARAM |
Vladimir Murzin | 49e30bd | 2019-01-31 13:50:29 +0100 | [diff] [blame] | 23 | depends on CPU_ARM740T || CPU_ARM946E || CPU_ARM940T |
Hyok S. Choi | f8c07de | 2006-03-27 15:14:19 +0100 | [diff] [blame] | 24 | default 0x00400000 |
| 25 | |
| 26 | config FLASH_SIZE |
| 27 | hex 'FLASH Size' if SET_MEM_PARAM |
Vladimir Murzin | 49e30bd | 2019-01-31 13:50:29 +0100 | [diff] [blame] | 28 | depends on CPU_ARM740T || CPU_ARM946E || CPU_ARM940T |
Hyok S. Choi | f8c07de | 2006-03-27 15:14:19 +0100 | [diff] [blame] | 29 | default 0x00400000 |
| 30 | |
Hyok S. Choi | f12d0d7 | 2006-09-26 17:36:37 +0900 | [diff] [blame] | 31 | config PROCESSOR_ID |
Greg Ungerer | 7a8be08 | 2007-07-30 02:26:08 +0100 | [diff] [blame] | 32 | hex 'Hard wire the processor ID' |
Hyok S. Choi | f12d0d7 | 2006-09-26 17:36:37 +0900 | [diff] [blame] | 33 | default 0x00007700 |
Uwe Kleine-König | 4477ca4 | 2013-03-21 21:02:37 +0100 | [diff] [blame] | 34 | depends on !(CPU_CP15 || CPU_V7M) |
Hyok S. Choi | f12d0d7 | 2006-09-26 17:36:37 +0900 | [diff] [blame] | 35 | help |
| 36 | If processor has no CP15 register, this processor ID is |
| 37 | used instead of the auto-probing which utilizes the register. |
| 38 | |
Hyok S. Choi | c760fc1 | 2006-03-27 15:18:50 +0100 | [diff] [blame] | 39 | config REMAP_VECTORS_TO_RAM |
Afzal Mohammed | 8a792e9 | 2017-01-07 17:48:10 +0100 | [diff] [blame] | 40 | bool 'Install vectors to the beginning of RAM' |
Hyok S. Choi | c760fc1 | 2006-03-27 15:18:50 +0100 | [diff] [blame] | 41 | help |
| 42 | The kernel needs to change the hardware exception vectors. |
| 43 | In nommu mode, the hardware exception vectors are normally |
| 44 | placed at address 0x00000000. However, this region may be |
| 45 | occupied by read-only memory depending on H/W design. |
| 46 | |
| 47 | If the region contains read-write memory, say 'n' here. |
| 48 | |
| 49 | If your CPU provides a remap facility which allows the exception |
| 50 | vectors to be mapped to writable memory, say 'n' here. |
| 51 | |
| 52 | Otherwise, say 'y' here. In this case, the kernel will require |
| 53 | external support to redirect the hardware exception vectors to |
| 54 | the writable versions located at DRAM_BASE. |
Jonathan Austin | 801bb21 | 2013-02-22 18:56:04 +0000 | [diff] [blame] | 55 | |
| 56 | config ARM_MPU |
| 57 | bool 'Use the ARM v7 PMSA Compliant MPU' |
Vladimir Murzin | 2162183 | 2017-10-16 13:00:45 +0100 | [diff] [blame] | 58 | depends on CPU_V7 || CPU_V7M |
Vladimir Murzin | 9fcb01a | 2017-10-16 12:57:48 +0100 | [diff] [blame] | 59 | default y if CPU_V7 |
Jonathan Austin | 801bb21 | 2013-02-22 18:56:04 +0000 | [diff] [blame] | 60 | help |
| 61 | Some ARM systems without an MMU have instead a Memory Protection |
| 62 | Unit (MPU) that defines the type and permissions for regions of |
| 63 | memory. |
| 64 | |
| 65 | If your CPU has an MPU then you should choose 'y' here unless you |
| 66 | know that you do not want to use the MPU. |