Kconfig.platform 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.rst.
  4. #
  5. # Platform selection Kconfig menu for MicroBlaze targets
  6. #
  7. menu "Platform options"
  8. config OPT_LIB_FUNCTION
  9. bool "Optimalized lib function"
  10. default y
  11. help
  12. Allows turn on optimalized library function (memcpy and memmove).
  13. They are optimized by using word alignment. This will work
  14. fine if both source and destination are aligned on the same
  15. boundary. However, if they are aligned on different boundaries
  16. shifts will be necessary. This might result in bad performance
  17. on MicroBlaze systems without a barrel shifter.
  18. config OPT_LIB_ASM
  19. bool "Optimalized lib function ASM"
  20. depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
  21. depends on CPU_BIG_ENDIAN
  22. default n
  23. help
  24. Allows turn on optimalized library function (memcpy and memmove).
  25. Function are written in asm code.
  26. # Definitions for MICROBLAZE0
  27. comment "Definitions for MICROBLAZE0"
  28. config KERNEL_BASE_ADDR
  29. hex "Physical address where Linux Kernel is"
  30. default "0x90000000"
  31. help
  32. BASE Address for kernel
  33. config XILINX_MICROBLAZE0_FAMILY
  34. string "Targeted FPGA family"
  35. default "virtex5"
  36. config XILINX_MICROBLAZE0_USE_MSR_INSTR
  37. int "USE_MSR_INSTR range (0:1)"
  38. default 0
  39. config XILINX_MICROBLAZE0_USE_PCMP_INSTR
  40. int "USE_PCMP_INSTR range (0:1)"
  41. default 0
  42. config XILINX_MICROBLAZE0_USE_BARREL
  43. int "USE_BARREL range (0:1)"
  44. default 0
  45. config XILINX_MICROBLAZE0_USE_DIV
  46. int "USE_DIV range (0:1)"
  47. default 0
  48. config XILINX_MICROBLAZE0_USE_HW_MUL
  49. int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)"
  50. default 0
  51. config XILINX_MICROBLAZE0_USE_FPU
  52. int "USE_FPU values (0=NONE, 1=BASIC, 2=EXTENDED)"
  53. default 0
  54. config XILINX_MICROBLAZE0_HW_VER
  55. string "Core version number"
  56. default "7.10.d"
  57. endmenu