Kconfig-nommu 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Kconfig for uClinux(non-paged MM) depend configurations
  4. # Hyok S. Choi <hyok.choi@samsung.com>
  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. config DRAM_BASE
  12. hex '(S)DRAM Base Address' if SET_MEM_PARAM
  13. default 0x00800000
  14. config DRAM_SIZE
  15. hex '(S)DRAM SIZE' if SET_MEM_PARAM
  16. default 0x00800000
  17. config FLASH_MEM_BASE
  18. hex 'FLASH Base Address' if SET_MEM_PARAM
  19. default 0x00400000
  20. config FLASH_SIZE
  21. hex 'FLASH Size' if SET_MEM_PARAM
  22. default 0x00400000
  23. config PROCESSOR_ID
  24. hex 'Hard wire the processor ID'
  25. default 0x00007700
  26. depends on !(CPU_CP15 || CPU_V7M)
  27. help
  28. If processor has no CP15 register, this processor ID is
  29. used instead of the auto-probing which utilizes the register.
  30. config REMAP_VECTORS_TO_RAM
  31. bool 'Install vectors to the beginning of RAM'
  32. help
  33. The kernel needs to change the hardware exception vectors.
  34. In nommu mode, the hardware exception vectors are normally
  35. placed at address 0x00000000. However, this region may be
  36. occupied by read-only memory depending on H/W design.
  37. If the region contains read-write memory, say 'n' here.
  38. If your CPU provides a remap facility which allows the exception
  39. vectors to be mapped to writable memory, say 'n' here.
  40. Otherwise, say 'y' here. In this case, the kernel will require
  41. external support to redirect the hardware exception vectors to
  42. the writable versions located at DRAM_BASE.
  43. config ARM_MPU
  44. bool 'Use the ARM v7 PMSA Compliant MPU'
  45. depends on CPU_V7 || CPU_V7M
  46. default y if CPU_V7
  47. help
  48. Some ARM systems without an MMU have instead a Memory Protection
  49. Unit (MPU) that defines the type and permissions for regions of
  50. memory.
  51. If your CPU has an MPU then you should choose 'y' here unless you
  52. know that you do not want to use the MPU.