Kconfig.platform 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 OPT_LIB_FUNCTION
  18. bool "Optimalized lib function"
  19. default y
  20. help
  21. Allows turn on optimalized library function (memcpy and memmove).
  22. They are optimized by using word alignment. This will work
  23. fine if both source and destination are aligned on the same
  24. boundary. However, if they are aligned on different boundaries
  25. shifts will be necessary. This might result in bad performance
  26. on MicroBlaze systems without a barrel shifter.
  27. config OPT_LIB_ASM
  28. bool "Optimalized lib function ASM"
  29. depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
  30. default n
  31. help
  32. Allows turn on optimalized library function (memcpy and memmove).
  33. Function are written in asm code.
  34. if PLATFORM_GENERIC=y
  35. source "arch/microblaze/platform/generic/Kconfig.auto"
  36. endif
  37. endmenu