Kconfig 2.9 KB

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