York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 1 | config ARCH_LS1012A |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 2 | bool |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 3 | select FSL_LSCH2 |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 4 | select SYS_FSL_DDR_BE |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 5 | select SYS_FSL_MMDC |
York Sun | 149eb33 | 2016-09-26 08:09:27 -0700 | [diff] [blame] | 6 | select SYS_FSL_ERRATUM_A010315 |
| 7 | |
| 8 | config ARCH_LS1043A |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 9 | bool |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 10 | select FSL_LSCH2 |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 11 | select SYS_FSL_DDR_BE |
| 12 | select SYS_FSL_DDR_VER_50 |
York Sun | 149eb33 | 2016-09-26 08:09:27 -0700 | [diff] [blame] | 13 | select SYS_FSL_ERRATUM_A010315 |
Hou Zhiqiang | c06b30a | 2016-09-29 12:42:44 +0800 | [diff] [blame] | 14 | select SYS_FSL_ERRATUM_A010539 |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 15 | |
York Sun | bad4984 | 2016-09-26 08:09:24 -0700 | [diff] [blame] | 16 | config ARCH_LS1046A |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 17 | bool |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 18 | select FSL_LSCH2 |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 19 | select SYS_FSL_DDR_BE |
| 20 | select SYS_FSL_DDR4 |
| 21 | select SYS_FSL_DDR_VER_50 |
Hou Zhiqiang | c06b30a | 2016-09-29 12:42:44 +0800 | [diff] [blame] | 22 | select SYS_FSL_ERRATUM_A010539 |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 23 | select SYS_FSL_SRDS_2 |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 24 | |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 25 | config ARCH_LS2080A |
| 26 | bool |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 27 | select FSL_LSCH3 |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 28 | select SYS_FSL_DDR4 |
| 29 | select SYS_FSL_DDR_LE |
| 30 | select SYS_FSL_DDR_VER_50 |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 31 | select SYS_FSL_HAS_DP_DDR |
| 32 | select SYS_FSL_SRDS_2 |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 33 | |
| 34 | config FSL_LSCH2 |
| 35 | bool |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 36 | select SYS_FSL_SRDS_1 |
| 37 | select SYS_HAS_SERDES |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 38 | |
| 39 | config FSL_LSCH3 |
| 40 | bool |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 41 | select SYS_FSL_SRDS_1 |
| 42 | select SYS_HAS_SERDES |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 43 | |
| 44 | menu "Layerscape architecture" |
| 45 | depends on FSL_LSCH2 || FSL_LSCH3 |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 46 | |
macro.wave.z@gmail.com | ec2d7ed | 2016-12-08 11:58:21 +0800 | [diff] [blame] | 47 | menu "Layerscape PPA" |
| 48 | config FSL_LS_PPA |
| 49 | bool "FSL Layerscape PPA firmware support" |
macro.wave.z@gmail.com | 01bd334 | 2016-12-08 11:58:22 +0800 | [diff] [blame^] | 50 | depends on !ARMV8_PSCI |
macro.wave.z@gmail.com | ec2d7ed | 2016-12-08 11:58:21 +0800 | [diff] [blame] | 51 | depends on ARCH_LS1043A || ARCH_LS1046A |
| 52 | select FSL_PPA_ARMV8_PSCI |
| 53 | help |
| 54 | The FSL Primary Protected Application (PPA) is a software component |
| 55 | which is loaded during boot stage, and then remains resident in RAM |
| 56 | and runs in the TrustZone after boot. |
| 57 | Say y to enable it. |
| 58 | |
| 59 | config FSL_PPA_ARMV8_PSCI |
| 60 | bool "PSCI implementation in PPA firmware" |
| 61 | depends on FSL_LS_PPA |
| 62 | help |
| 63 | This config enables the ARMv8 PSCI implementation in PPA firmware. |
| 64 | This is a private PSCI implementation and different from those |
| 65 | implemented under the common ARMv8 PSCI framework. |
| 66 | endmenu |
| 67 | |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 68 | config SYS_FSL_MMDC |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 69 | bool |
York Sun | 149eb33 | 2016-09-26 08:09:27 -0700 | [diff] [blame] | 70 | |
| 71 | config SYS_FSL_ERRATUM_A010315 |
| 72 | bool "Workaround for PCIe erratum A010315" |
Hou Zhiqiang | c06b30a | 2016-09-29 12:42:44 +0800 | [diff] [blame] | 73 | |
| 74 | config SYS_FSL_ERRATUM_A010539 |
| 75 | bool "Workaround for PIN MUX erratum A010539" |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 76 | |
York Sun | f188d22 | 2016-10-04 14:45:01 -0700 | [diff] [blame] | 77 | config MAX_CPUS |
| 78 | int "Maximum number of CPUs permitted for Layerscape" |
| 79 | default 4 if ARCH_LS1043A |
| 80 | default 4 if ARCH_LS1046A |
| 81 | default 16 if ARCH_LS2080A |
| 82 | default 1 |
| 83 | help |
| 84 | Set this number to the maximum number of possible CPUs in the SoC. |
| 85 | SoCs may have multiple clusters with each cluster may have multiple |
| 86 | ports. If some ports are reserved but higher ports are used for |
| 87 | cores, count the reserved ports. This will allocate enough memory |
| 88 | in spin table to properly handle all cores. |
| 89 | |
York Sun | 0dc9abb | 2016-10-04 14:46:50 -0700 | [diff] [blame] | 90 | config NUM_DDR_CONTROLLERS |
| 91 | int "Maximum DDR controllers" |
| 92 | default 3 if ARCH_LS2080A |
| 93 | default 1 |
| 94 | |
York Sun | 728e700 | 2016-12-02 09:32:35 -0800 | [diff] [blame] | 95 | config SECURE_BOOT |
| 96 | bool |
| 97 | help |
| 98 | Enable Freescale Secure Boot feature |
| 99 | |
Yuan Yao | 52ae4fd | 2016-12-01 10:13:52 +0800 | [diff] [blame] | 100 | config QSPI_AHB_INIT |
| 101 | bool "Init the QSPI AHB bus" |
| 102 | help |
| 103 | The default setting for QSPI AHB bus just support 3bytes addressing. |
| 104 | But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB |
| 105 | bus for those flashes to support the full QSPI flash size. |
| 106 | |
York Sun | e7310a3 | 2016-10-04 14:45:54 -0700 | [diff] [blame] | 107 | config SYS_FSL_IFC_BANK_COUNT |
| 108 | int "Maximum banks of Integrated flash controller" |
| 109 | depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A |
| 110 | default 4 if ARCH_LS1043A |
| 111 | default 4 if ARCH_LS1046A |
| 112 | default 8 if ARCH_LS2080A |
| 113 | |
York Sun | 0dc9abb | 2016-10-04 14:46:50 -0700 | [diff] [blame] | 114 | config SYS_FSL_HAS_DP_DDR |
| 115 | bool |
| 116 | |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 117 | config SYS_FSL_SRDS_1 |
| 118 | bool |
| 119 | |
| 120 | config SYS_FSL_SRDS_2 |
| 121 | bool |
| 122 | |
| 123 | config SYS_HAS_SERDES |
| 124 | bool |
| 125 | |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 126 | config SYS_FSL_DDR |
| 127 | bool "Freescale DDR driver" |
| 128 | help |
| 129 | Select Freescale General DDR driver, shared between most Freescale |
| 130 | PowerPC- based SoCs (such as mpc83xx, mpc85xx, mpc86xx) and ARM- |
| 131 | based Layerscape SoCs (such as ls2080a). |
| 132 | |
| 133 | config SYS_FSL_DDR_BE |
| 134 | bool |
| 135 | help |
| 136 | Access DDR registers in big-endian. |
| 137 | |
| 138 | config SYS_FSL_DDR_LE |
| 139 | bool |
| 140 | help |
| 141 | Access DDR registers in little-endian. |
| 142 | |
| 143 | config SYS_FSL_DDR_VER |
| 144 | int |
| 145 | default 50 if SYS_FSL_DDR_VER_50 |
| 146 | |
| 147 | config SYS_FSL_DDR_VER_50 |
| 148 | bool |
| 149 | |
| 150 | config SYS_FSL_DDRC_ARM_GEN3 |
| 151 | bool |
| 152 | |
| 153 | config SYS_FSL_DDRC_GEN4 |
| 154 | bool |
| 155 | |
| 156 | config SYS_FSL_DDR3 |
| 157 | bool "Freescale DDR3 controller" |
| 158 | depends on !SYS_FSL_DDR4 |
| 159 | select SYS_FSL_DDR |
| 160 | select SYS_FSL_DDRC_ARM_GEN3 |
| 161 | help |
| 162 | Enable Freescale DDR3 controller on ARM-based SoCs. |
| 163 | |
| 164 | config SYS_FSL_DDR4 |
| 165 | bool "Freescale DDR4 controller" |
| 166 | select SYS_FSL_DDR |
| 167 | select SYS_FSL_DDRC_GEN4 |
| 168 | help |
| 169 | Enable Freescale DDR4 controller. |
| 170 | |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 171 | endmenu |