Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. if TARGET_MICROBLAZE_GENERIC
  2. config SYS_BOARD
  3. default "microblaze-generic"
  4. config SYS_VENDOR
  5. default "xilinx"
  6. config SYS_CONFIG_NAME
  7. string "Board configuration name"
  8. default "microblaze-generic"
  9. help
  10. This option contains information about board configuration name.
  11. Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
  12. will be used for board configuration.
  13. config XILINX_MICROBLAZE0_USE_MSR_INSTR
  14. int "USE_MSR_INSTR range (0:1)"
  15. default 0
  16. config XILINX_MICROBLAZE0_USE_PCMP_INSTR
  17. int "USE_PCMP_INSTR range (0:1)"
  18. default 0
  19. config XILINX_MICROBLAZE0_USE_BARREL
  20. int "USE_BARREL range (0:1)"
  21. default 0
  22. config XILINX_MICROBLAZE0_USE_DIV
  23. int "USE_DIV range (0:1)"
  24. default 0
  25. config XILINX_MICROBLAZE0_USE_HW_MUL
  26. int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)"
  27. default 0
  28. config XILINX_MICROBLAZE0_HW_VER
  29. string "Core version number"
  30. default "7.10.d"
  31. config XILINX_MICROBLAZE0_FPGA_FAMILY
  32. string "Targeted FPGA family"
  33. default "virtex5"
  34. help
  35. This option contains info about the target FPGA architecture
  36. (Zynq-7000, UltraScale+ Kintex, etc) that the MicroBlaze soft core is
  37. implemented on. It corresponds to the C_FAMILY hdl parameter.
  38. config XILINX_MICROBLAZE0_USR_EXCEP
  39. bool "MicroBlaze user exception support"
  40. default y
  41. help
  42. Enable this option in order to install the user exception handler
  43. (_exception_handler routine from arch/microblaze/cpu/exception.c) in
  44. the exception vector table. The user exception vector is located at
  45. C_BASE_VECTORS + 0x8 address.
  46. config XILINX_MICROBLAZE0_DELAY_SLOT_EXCEP
  47. bool "MicroBlaze delay slot exception support"
  48. default y
  49. help
  50. Enable this option if the MicroBlaze processor supports exceptions
  51. caused by delay slot instructions (processor version >= v5.00). When
  52. enabled, the hw exception handler will print a message indicating
  53. whether the exception was triggered by a delay slot instruction.
  54. config XILINX_MICROBLAZE0_VECTOR_BASE_ADDR
  55. hex "Location of MicroBlaze vectors"
  56. default 0x0
  57. help
  58. Memory address location of the exception vector table. It is
  59. configurable via the C_BASE_VECTORS hdl parameter.
  60. config XILINX_MICROBLAZE0_USE_WDC
  61. bool "MicroBlaze wdc instruction support"
  62. default y
  63. help
  64. Enable this option if the MicroBlaze processor is configured with
  65. support for the "wdc" (Write to Data Cache) instruction.
  66. config SPL_XILINX_MICROBLAZE0_USE_WDC
  67. bool
  68. default XILINX_MICROBLAZE0_USE_WDC
  69. config XILINX_MICROBLAZE0_USE_WIC
  70. bool "MicroBlaze wic instruction support"
  71. default y
  72. help
  73. Enable this option if the MicroBlaze processor is configured with
  74. support for the "wic" (Write to Instruction Cache) instruction.
  75. config SPL_XILINX_MICROBLAZE0_USE_WIC
  76. bool
  77. default XILINX_MICROBLAZE0_USE_WIC
  78. config XILINX_MICROBLAZE0_DCACHE_SIZE
  79. int "Default data cache size"
  80. default 32768
  81. help
  82. This fallback size will be used when no dcache info can be found in
  83. the device tree, or when the data cache is flushed very early in the
  84. boot process, before device tree is available.
  85. config XILINX_MICROBLAZE0_ICACHE_SIZE
  86. int "Default instruction cache size"
  87. default 32768
  88. help
  89. This fallback size will be used when no icache info can be found in
  90. the device tree, or when the instruction cache is flushed very early
  91. in the boot process, before device tree is available.
  92. config XILINX_MICROBLAZE0_PVR
  93. bool "MicroBlaze PVR support"
  94. help
  95. Enables helper functions and macros needed to manipulate PVR
  96. (Processor Version Register) data. Currently, only the microblaze
  97. UCLASS_CPU driver makes use of this feature to retrieve CPU info at
  98. runtime.
  99. endif