blob: bee7d1537cb495e3da4118c39998f623e2bf3cce [file] [log] [blame]
York Sunb3d71642016-09-26 08:09:26 -07001config ARCH_LS1012A
York Sunfcd0e742016-10-04 14:31:47 -07002 bool
York Sun4dd8c612016-10-04 14:31:48 -07003 select FSL_LSCH2
York Sunb6fffd82016-10-04 18:03:08 -07004 select SYS_FSL_DDR_BE
York Sunb3d71642016-09-26 08:09:26 -07005 select SYS_FSL_MMDC
York Sun149eb332016-09-26 08:09:27 -07006 select SYS_FSL_ERRATUM_A010315
7
8config ARCH_LS1043A
York Sunfcd0e742016-10-04 14:31:47 -07009 bool
York Sun4dd8c612016-10-04 14:31:48 -070010 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080011 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070012 select SYS_FSL_DDR_BE
13 select SYS_FSL_DDR_VER_50
York Sun149eb332016-09-26 08:09:27 -070014 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080015 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080016 select SYS_FSL_HAS_DDR3
17 select SYS_FSL_HAS_DDR4
York Sunb3d71642016-09-26 08:09:26 -070018
York Sunbad49842016-09-26 08:09:24 -070019config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070020 bool
York Sun4dd8c612016-10-04 14:31:48 -070021 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080022 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070023 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -070024 select SYS_FSL_DDR_VER_50
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080025 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080026 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -070027 select SYS_FSL_SRDS_2
York Sunb3d71642016-09-26 08:09:26 -070028
York Sunfcd0e742016-10-04 14:31:47 -070029config ARCH_LS2080A
30 bool
York Sun4dd8c612016-10-04 14:31:48 -070031 select FSL_LSCH3
York Sund297d392016-12-28 08:43:40 -080032 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070033 select SYS_FSL_DDR_LE
34 select SYS_FSL_DDR_VER_50
York Sun6b62ef02016-10-04 18:01:34 -070035 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -080036 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -080037 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -080038 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080039 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -070040 select SYS_FSL_SRDS_2
York Sun4dd8c612016-10-04 14:31:48 -070041
42config FSL_LSCH2
43 bool
York Sun92c36e22016-12-28 08:43:30 -080044 select SYS_FSL_HAS_SEC
45 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080046 select SYS_FSL_SEC_BE
York Sun6b62ef02016-10-04 18:01:34 -070047 select SYS_FSL_SRDS_1
48 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -070049
50config FSL_LSCH3
51 bool
York Sun6b62ef02016-10-04 18:01:34 -070052 select SYS_FSL_SRDS_1
53 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -070054
55menu "Layerscape architecture"
56 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -070057
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +080058menu "Layerscape PPA"
59config FSL_LS_PPA
60 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +080061 depends on !ARMV8_PSCI
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +080062 depends on ARCH_LS1043A || ARCH_LS1046A
63 select FSL_PPA_ARMV8_PSCI
64 help
65 The FSL Primary Protected Application (PPA) is a software component
66 which is loaded during boot stage, and then remains resident in RAM
67 and runs in the TrustZone after boot.
68 Say y to enable it.
69
70config FSL_PPA_ARMV8_PSCI
71 bool "PSCI implementation in PPA firmware"
72 depends on FSL_LS_PPA
73 help
74 This config enables the ARMv8 PSCI implementation in PPA firmware.
75 This is a private PSCI implementation and different from those
76 implemented under the common ARMv8 PSCI framework.
77endmenu
78
York Sun149eb332016-09-26 08:09:27 -070079config SYS_FSL_ERRATUM_A010315
80 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080081
82config SYS_FSL_ERRATUM_A010539
83 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -070084
York Sunf188d222016-10-04 14:45:01 -070085config MAX_CPUS
86 int "Maximum number of CPUs permitted for Layerscape"
87 default 4 if ARCH_LS1043A
88 default 4 if ARCH_LS1046A
89 default 16 if ARCH_LS2080A
90 default 1
91 help
92 Set this number to the maximum number of possible CPUs in the SoC.
93 SoCs may have multiple clusters with each cluster may have multiple
94 ports. If some ports are reserved but higher ports are used for
95 cores, count the reserved ports. This will allocate enough memory
96 in spin table to properly handle all cores.
97
York Sun0dc9abb2016-10-04 14:46:50 -070098config NUM_DDR_CONTROLLERS
99 int "Maximum DDR controllers"
100 default 3 if ARCH_LS2080A
101 default 1
102
York Sun728e7002016-12-02 09:32:35 -0800103config SECURE_BOOT
104 bool
105 help
106 Enable Freescale Secure Boot feature
107
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800108config QSPI_AHB_INIT
109 bool "Init the QSPI AHB bus"
110 help
111 The default setting for QSPI AHB bus just support 3bytes addressing.
112 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
113 bus for those flashes to support the full QSPI flash size.
114
York Sune7310a32016-10-04 14:45:54 -0700115config SYS_FSL_IFC_BANK_COUNT
116 int "Maximum banks of Integrated flash controller"
117 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
118 default 4 if ARCH_LS1043A
119 default 4 if ARCH_LS1046A
120 default 8 if ARCH_LS2080A
121
York Sun0dc9abb2016-10-04 14:46:50 -0700122config SYS_FSL_HAS_DP_DDR
123 bool
124
York Sun6b62ef02016-10-04 18:01:34 -0700125config SYS_FSL_SRDS_1
126 bool
127
128config SYS_FSL_SRDS_2
129 bool
130
131config SYS_HAS_SERDES
132 bool
133
York Sun4dd8c612016-10-04 14:31:48 -0700134endmenu