Kconfig.platform 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # For a description of the syntax of this configuration file,
  2. # see Documentation/kbuild/kconfig-language.txt.
  3. #
  4. # Platform selection Kconfig menu for MicroBlaze targets
  5. #
  6. menu "Platform options"
  7. choice
  8. prompt "Platform"
  9. default PLATFORM_MICROBLAZE_AUTO
  10. help
  11. Choose which hardware board/platform you are targeting.
  12. config PLATFORM_GENERIC
  13. bool "Generic"
  14. help
  15. Choose this option for the Generic platform.
  16. endchoice
  17. config SELFMOD
  18. bool "Use self modified code for intc/timer"
  19. depends on EXPERIMENTAL && NO_MMU
  20. default n
  21. help
  22. This choice enables self-modified code for interrupt controller
  23. and timer.
  24. config SELFMOD_INTC
  25. bool "Use self modified code for intc"
  26. depends on SELFMOD
  27. default y
  28. help
  29. This choice enables self-modified code for interrupt controller.
  30. config SELFMOD_TIMER
  31. bool "Use self modified code for timer"
  32. depends on SELFMOD
  33. default y
  34. help
  35. This choice enables self-modified code for timer.
  36. config OPT_LIB_FUNCTION
  37. bool "Optimalized lib function"
  38. default y
  39. help
  40. Allows turn on optimalized library function (memcpy and memmove).
  41. They are optimized by using word alignment. This will work
  42. fine if both source and destination are aligned on the same
  43. boundary. However, if they are aligned on different boundaries
  44. shifts will be necessary. This might result in bad performance
  45. on MicroBlaze systems without a barrel shifter.
  46. config OPT_LIB_ASM
  47. bool "Optimalized lib function ASM"
  48. depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
  49. default n
  50. help
  51. Allows turn on optimalized library function (memcpy and memmove).
  52. Function are written in asm code.
  53. if PLATFORM_GENERIC=y
  54. source "arch/microblaze/platform/generic/Kconfig.auto"
  55. endif
  56. endmenu