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