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 17 select ARMV8_MULTIENTRY 18 select ARMV8_SPIN_TABLE 19 20choice 21 prompt "UniPhier SoC select" 22 default ARCH_UNIPHIER_PRO4 23 24config ARCH_UNIPHIER_SLD3 25 bool "UniPhier PH1-sLD3 SoC" 26 select ARCH_UNIPHIER_32BIT 27 28config ARCH_UNIPHIER_LD4_SLD8 29 bool "UniPhier PH1-LD4/PH1-sLD8 SoC" 30 select ARCH_UNIPHIER_32BIT 31 32config ARCH_UNIPHIER_PRO4 33 bool "UniPhier PH1-Pro4 SoC" 34 select ARCH_UNIPHIER_32BIT 35 36config ARCH_UNIPHIER_PRO5_PXS2_LD6B 37 bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC" 38 select ARCH_UNIPHIER_32BIT 39 40config ARCH_UNIPHIER_LD11 41 bool "UniPhier PH1-LD11 SoC" 42 select ARCH_UNIPHIER_64BIT 43 44config ARCH_UNIPHIER_LD20 45 bool "UniPhier PH1-LD20 SoC" 46 select ARCH_UNIPHIER_64BIT 47 select OF_BOARD_SETUP 48 49endchoice 50 51config ARCH_UNIPHIER_LD4 52 bool "Enable UniPhier PH1-LD4 SoC support" 53 depends on ARCH_UNIPHIER_LD4_SLD8 54 default y 55 56config ARCH_UNIPHIER_SLD8 57 bool "Enable UniPhier PH1-sLD8 SoC support" 58 depends on ARCH_UNIPHIER_LD4_SLD8 59 default y 60 61config ARCH_UNIPHIER_PRO5 62 bool "Enable UniPhier PH1-Pro5 SoC support" 63 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B 64 default y 65 66config ARCH_UNIPHIER_PXS2 67 bool "Enable UniPhier ProXstream2 SoC support" 68 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B 69 default y 70 71config ARCH_UNIPHIER_LD6B 72 bool "Enable UniPhier PH1-LD6b SoC support" 73 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B 74 default y 75 76config CACHE_UNIPHIER 77 bool "Enable the UniPhier L2 cache controller" 78 depends on ARCH_UNIPHIER_32BIT 79 select SYS_CACHE_SHIFT_7 80 default y 81 help 82 This option allows to use the UniPhier System Cache as L2 cache. 83 84config MICRO_SUPPORT_CARD 85 bool "Use Micro Support Card" 86 help 87 This option provides support for the expansion board, available 88 on some UniPhier reference boards. 89 90 Say Y to use the on-board UART, Ether, LED devices. 91 92config CMD_PINMON 93 bool "Enable boot mode pins monitor command" 94 default y 95 help 96 The command "pinmon" shows the state of the boot mode pins. 97 The boot mode pins are latched when the system reset is deasserted 98 and determine which device the system should load a boot image from. 99 100config CMD_DDRPHY_DUMP 101 bool "Enable dump command of DDR PHY parameters" 102 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \ 103 ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11 104 default y 105 help 106 The command "ddrphy" shows the resulting parameters of DDR PHY 107 training; it is useful for the evaluation of DDR PHY training. 108 109config CMD_DDRMPHY_DUMP 110 bool "Enable dump command of DDR Multi PHY parameters" 111 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B 112 default y 113 help 114 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY 115 training; it is useful for the evaluation of DDR Multi PHY training. 116 117endif 118