Kconfig.platform 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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
  49. default n
  50. help
  51. Allows turn on optimalized library function (memcpy and memmove).
  52. Function are written in asm code.
  53. # This is still a bit broken - disabling for now JW 20070504
  54. config ALLOW_EDIT_AUTO
  55. bool "Permit Display/edit of Kconfig.auto platform settings"
  56. default n
  57. help
  58. Allows the editing of auto-generated platform settings from
  59. the Kconfig.auto file. Obviously this does not change the
  60. underlying hardware, so be very careful if you go editing
  61. these settings.
  62. Also, if you enable this, and edit various Kconfig.auto
  63. settings, YOUR CHANGES WILL BE LOST if you then disable it
  64. again. You have been warned!
  65. If unsure, say no.
  66. comment "Automatic platform settings from Kconfig.auto"
  67. depends on ALLOW_EDIT_AUTO
  68. if PLATFORM_GENERIC=y
  69. source "arch/microblaze/platform/generic/Kconfig.auto"
  70. endif
  71. endmenu