Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. if ARCH_UNIPHIER
  2. config SYS_CONFIG_NAME
  3. default "uniphier"
  4. config ARCH_UNIPHIER_32BIT
  5. bool
  6. select ARCH_SUPPORT_PSCI
  7. select ARMV7_NONSEC
  8. select CPU_V7A
  9. select CPU_V7_HAS_NONSEC
  10. choice
  11. prompt "UniPhier SoC select"
  12. default ARCH_UNIPHIER_V7_MULTI
  13. config ARCH_UNIPHIER_LD4_SLD8
  14. bool "UniPhier LD4/sLD8 SoCs"
  15. select ARCH_UNIPHIER_32BIT
  16. config ARCH_UNIPHIER_V7_MULTI
  17. bool "UniPhier Pro4/Pro5/PXs2/LD6b SoCs"
  18. select ARCH_UNIPHIER_32BIT
  19. config ARCH_UNIPHIER_V8_MULTI
  20. bool "UniPhier V8 SoCs"
  21. depends on !SPL
  22. select ARM64
  23. select CMD_UNZIP
  24. endchoice
  25. config ARCH_UNIPHIER_LD4
  26. bool "Enable UniPhier LD4 SoC support"
  27. depends on ARCH_UNIPHIER_LD4_SLD8
  28. default y
  29. config ARCH_UNIPHIER_SLD8
  30. bool "Enable UniPhier sLD8 SoC support"
  31. depends on ARCH_UNIPHIER_LD4_SLD8
  32. default y
  33. config ARCH_UNIPHIER_PRO4
  34. bool "Enable UniPhier Pro4 SoC support"
  35. depends on ARCH_UNIPHIER_V7_MULTI
  36. default y
  37. config ARCH_UNIPHIER_PRO5
  38. bool "Enable UniPhier Pro5 SoC support"
  39. depends on ARCH_UNIPHIER_V7_MULTI
  40. default y
  41. config ARCH_UNIPHIER_PXS2
  42. bool "Enable UniPhier Pxs2 SoC support"
  43. depends on ARCH_UNIPHIER_V7_MULTI
  44. default y
  45. config ARCH_UNIPHIER_LD6B
  46. bool "Enable UniPhier LD6b SoC support"
  47. depends on ARCH_UNIPHIER_V7_MULTI
  48. default y
  49. config ARCH_UNIPHIER_LD11
  50. bool "Enable UniPhier LD11 SoC support"
  51. depends on ARCH_UNIPHIER_V8_MULTI
  52. default y
  53. config ARCH_UNIPHIER_LD20
  54. bool "Enable UniPhier LD20 SoC support"
  55. depends on ARCH_UNIPHIER_V8_MULTI
  56. default y
  57. select OF_BOARD_SETUP
  58. config ARCH_UNIPHIER_PXS3
  59. bool "Enable UniPhier PXs3 SoC support"
  60. depends on ARCH_UNIPHIER_V8_MULTI
  61. default y
  62. config CACHE_UNIPHIER
  63. bool "Enable the UniPhier L2 cache controller"
  64. depends on ARCH_UNIPHIER_32BIT
  65. default y
  66. select SYS_CACHE_SHIFT_7
  67. help
  68. This option allows to use the UniPhier System Cache as L2 cache.
  69. config MICRO_SUPPORT_CARD
  70. bool "Use Micro Support Card"
  71. help
  72. This option provides support for the expansion board, available
  73. on some UniPhier reference boards.
  74. Say Y to use the on-board UART, Ether, LED devices.
  75. config CMD_PINMON
  76. bool "Enable boot mode pins monitor command"
  77. default y
  78. help
  79. The command "pinmon" shows the state of the boot mode pins.
  80. The boot mode pins are latched when the system reset is deasserted
  81. and determine which device the system should load a boot image from.
  82. config CMD_DDRPHY_DUMP
  83. bool "Enable dump command of DDR PHY parameters"
  84. depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \
  85. ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
  86. default y
  87. help
  88. The command "ddrphy" shows the resulting parameters of DDR PHY
  89. training; it is useful for the evaluation of DDR PHY training.
  90. config CMD_DDRMPHY_DUMP
  91. bool "Enable dump command of DDR Multi PHY parameters"
  92. depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
  93. default y
  94. help
  95. The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
  96. training; it is useful for the evaluation of DDR Multi PHY training.
  97. config SYS_SOC
  98. default "uniphier-v7" if ARCH_UNIPHIER_LD4_SLD8 || ARCH_UNIPHIER_V7_MULTI
  99. endif