Kconfig-nommu 1.3 KB

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