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 | |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 47 | config SYS_FSL_MMDC |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 48 | bool |
York Sun | 149eb33 | 2016-09-26 08:09:27 -0700 | [diff] [blame] | 49 | |
| 50 | config SYS_FSL_ERRATUM_A010315 |
| 51 | bool "Workaround for PCIe erratum A010315" |
Hou Zhiqiang | c06b30a | 2016-09-29 12:42:44 +0800 | [diff] [blame] | 52 | |
| 53 | config SYS_FSL_ERRATUM_A010539 |
| 54 | bool "Workaround for PIN MUX erratum A010539" |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 55 | |
York Sun | f188d22 | 2016-10-04 14:45:01 -0700 | [diff] [blame] | 56 | config MAX_CPUS |
| 57 | int "Maximum number of CPUs permitted for Layerscape" |
| 58 | default 4 if ARCH_LS1043A |
| 59 | default 4 if ARCH_LS1046A |
| 60 | default 16 if ARCH_LS2080A |
| 61 | default 1 |
| 62 | help |
| 63 | Set this number to the maximum number of possible CPUs in the SoC. |
| 64 | SoCs may have multiple clusters with each cluster may have multiple |
| 65 | ports. If some ports are reserved but higher ports are used for |
| 66 | cores, count the reserved ports. This will allocate enough memory |
| 67 | in spin table to properly handle all cores. |
| 68 | |
York Sun | 0dc9abb | 2016-10-04 14:46:50 -0700 | [diff] [blame] | 69 | config NUM_DDR_CONTROLLERS |
| 70 | int "Maximum DDR controllers" |
| 71 | default 3 if ARCH_LS2080A |
| 72 | default 1 |
| 73 | |
York Sun | 728e700 | 2016-12-02 09:32:35 -0800 | [diff] [blame^] | 74 | config SECURE_BOOT |
| 75 | bool |
| 76 | help |
| 77 | Enable Freescale Secure Boot feature |
| 78 | |
York Sun | e7310a3 | 2016-10-04 14:45:54 -0700 | [diff] [blame] | 79 | config SYS_FSL_IFC_BANK_COUNT |
| 80 | int "Maximum banks of Integrated flash controller" |
| 81 | depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A |
| 82 | default 4 if ARCH_LS1043A |
| 83 | default 4 if ARCH_LS1046A |
| 84 | default 8 if ARCH_LS2080A |
| 85 | |
York Sun | 0dc9abb | 2016-10-04 14:46:50 -0700 | [diff] [blame] | 86 | config SYS_FSL_HAS_DP_DDR |
| 87 | bool |
| 88 | |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 89 | config SYS_FSL_SRDS_1 |
| 90 | bool |
| 91 | |
| 92 | config SYS_FSL_SRDS_2 |
| 93 | bool |
| 94 | |
| 95 | config SYS_HAS_SERDES |
| 96 | bool |
| 97 | |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 98 | config SYS_FSL_DDR |
| 99 | bool "Freescale DDR driver" |
| 100 | help |
| 101 | Select Freescale General DDR driver, shared between most Freescale |
| 102 | PowerPC- based SoCs (such as mpc83xx, mpc85xx, mpc86xx) and ARM- |
| 103 | based Layerscape SoCs (such as ls2080a). |
| 104 | |
| 105 | config SYS_FSL_DDR_BE |
| 106 | bool |
| 107 | help |
| 108 | Access DDR registers in big-endian. |
| 109 | |
| 110 | config SYS_FSL_DDR_LE |
| 111 | bool |
| 112 | help |
| 113 | Access DDR registers in little-endian. |
| 114 | |
| 115 | config SYS_FSL_DDR_VER |
| 116 | int |
| 117 | default 50 if SYS_FSL_DDR_VER_50 |
| 118 | |
| 119 | config SYS_FSL_DDR_VER_50 |
| 120 | bool |
| 121 | |
| 122 | config SYS_FSL_DDRC_ARM_GEN3 |
| 123 | bool |
| 124 | |
| 125 | config SYS_FSL_DDRC_GEN4 |
| 126 | bool |
| 127 | |
| 128 | config SYS_FSL_DDR3 |
| 129 | bool "Freescale DDR3 controller" |
| 130 | depends on !SYS_FSL_DDR4 |
| 131 | select SYS_FSL_DDR |
| 132 | select SYS_FSL_DDRC_ARM_GEN3 |
| 133 | help |
| 134 | Enable Freescale DDR3 controller on ARM-based SoCs. |
| 135 | |
| 136 | config SYS_FSL_DDR4 |
| 137 | bool "Freescale DDR4 controller" |
| 138 | select SYS_FSL_DDR |
| 139 | select SYS_FSL_DDRC_GEN4 |
| 140 | help |
| 141 | Enable Freescale DDR4 controller. |
| 142 | |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 143 | endmenu |