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