Kconfig-nommu 2.0 KB

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