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