Kconfig.socs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. menu "SoC selection"
  2. config SOC_SIFIVE
  3. bool "SiFive SoCs"
  4. select SERIAL_SIFIVE if TTY
  5. select SERIAL_SIFIVE_CONSOLE if TTY
  6. select CLK_SIFIVE
  7. select CLK_SIFIVE_FU540_PRCI
  8. select SIFIVE_PLIC
  9. help
  10. This enables support for SiFive SoC platform hardware.
  11. config SOC_VIRT
  12. bool "QEMU Virt Machine"
  13. select CLINT_TIMER if RISCV_M_MODE
  14. select POWER_RESET
  15. select POWER_RESET_SYSCON
  16. select POWER_RESET_SYSCON_POWEROFF
  17. select GOLDFISH
  18. select RTC_DRV_GOLDFISH if RTC_CLASS
  19. select SIFIVE_PLIC
  20. help
  21. This enables support for QEMU Virt Machine.
  22. config SOC_KENDRYTE
  23. bool "Kendryte K210 SoC"
  24. depends on !MMU
  25. select CLINT_TIMER if RISCV_M_MODE
  26. select SERIAL_SIFIVE if TTY
  27. select SERIAL_SIFIVE_CONSOLE if TTY
  28. select SIFIVE_PLIC
  29. help
  30. This enables support for Kendryte K210 SoC platform hardware.
  31. config SOC_KENDRYTE_K210_DTB
  32. def_bool y
  33. depends on SOC_KENDRYTE_K210_DTB_BUILTIN
  34. config SOC_KENDRYTE_K210_DTB_BUILTIN
  35. bool "Builtin device tree for the Kendryte K210"
  36. depends on SOC_KENDRYTE
  37. default y
  38. select OF
  39. select BUILTIN_DTB
  40. select SOC_KENDRYTE_K210_DTB
  41. help
  42. Builds a device tree for the Kendryte K210 into the Linux image.
  43. This option should be selected if no bootloader is being used.
  44. If unsure, say Y.
  45. config SOC_THEAD
  46. bool "T-HEAD SoCs"
  47. select SIFIVE_PLIC
  48. help
  49. This enables support for T-HEAD SoC platform hardware.
  50. config SOC_THEAD_LIGHT_EMU
  51. bool "T-HEAD Light SoC emulation"
  52. depends on SOC_THEAD
  53. help
  54. This enables support for T-HEAD Light SoC platform on FPGA emulation.
  55. endmenu