Kconfig.platform 1.7 KB

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