Kconfig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. menu "RISC-V architecture"
  2. depends on RISCV
  3. config SYS_ARCH
  4. default "riscv"
  5. choice
  6. prompt "Target select"
  7. optional
  8. config TARGET_AX25_AE350
  9. bool "Support ax25-ae350"
  10. config TARGET_QEMU_VIRT
  11. bool "Support QEMU Virt Board"
  12. endchoice
  13. # board-specific options below
  14. source "board/AndesTech/ax25-ae350/Kconfig"
  15. source "board/emulation/qemu-riscv/Kconfig"
  16. # platform-specific options below
  17. source "arch/riscv/cpu/ax25/Kconfig"
  18. # architecture-specific options below
  19. choice
  20. prompt "Base ISA"
  21. default ARCH_RV32I
  22. config ARCH_RV32I
  23. bool "RV32I"
  24. select 32BIT
  25. help
  26. Choose this option to target the RV32I base integer instruction set.
  27. config ARCH_RV64I
  28. bool "RV64I"
  29. select 64BIT
  30. select PHYS_64BIT
  31. help
  32. Choose this option to target the RV64I base integer instruction set.
  33. endchoice
  34. choice
  35. prompt "Code Model"
  36. default CMODEL_MEDLOW
  37. config CMODEL_MEDLOW
  38. bool "medium low code model"
  39. help
  40. U-Boot and its statically defined symbols must lie within a single 2 GiB
  41. address range and must lie between absolute addresses -2 GiB and +2 GiB.
  42. config CMODEL_MEDANY
  43. bool "medium any code model"
  44. help
  45. U-Boot and its statically defined symbols must be within any single 2 GiB
  46. address range.
  47. endchoice
  48. config RISCV_ISA_C
  49. bool "Emit compressed instructions"
  50. default y
  51. help
  52. Adds "C" to the ISA subsets that the toolchain is allowed to emit
  53. when building U-Boot, which results in compressed instructions in the
  54. U-Boot binary.
  55. config RISCV_ISA_A
  56. def_bool y
  57. config RISCV_SMODE
  58. bool "Run in S-Mode"
  59. help
  60. Enable this option to build U-Boot for RISC-V S-Mode
  61. config 32BIT
  62. bool
  63. config 64BIT
  64. bool
  65. endmenu