blob: ed1c4eeb03c07d249b0c358f40163c407401cfd1 [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 Sunb6fffd82016-10-04 18:03:08 -070011 select SYS_FSL_DDR_BE
12 select SYS_FSL_DDR_VER_50
York Sun149eb332016-09-26 08:09:27 -070013 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080014 select SYS_FSL_ERRATUM_A010539
York Sunb3d71642016-09-26 08:09:26 -070015
York Sunbad49842016-09-26 08:09:24 -070016config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070017 bool
York Sun4dd8c612016-10-04 14:31:48 -070018 select FSL_LSCH2
York Sunb6fffd82016-10-04 18:03:08 -070019 select SYS_FSL_DDR_BE
20 select SYS_FSL_DDR4
21 select SYS_FSL_DDR_VER_50
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080022 select SYS_FSL_ERRATUM_A010539
York Sun6b62ef02016-10-04 18:01:34 -070023 select SYS_FSL_SRDS_2
York Sunb3d71642016-09-26 08:09:26 -070024
York Sunfcd0e742016-10-04 14:31:47 -070025config ARCH_LS2080A
26 bool
York Sun4dd8c612016-10-04 14:31:48 -070027 select FSL_LSCH3
York Sunb6fffd82016-10-04 18:03:08 -070028 select SYS_FSL_DDR4
29 select SYS_FSL_DDR_LE
30 select SYS_FSL_DDR_VER_50
York Sun6b62ef02016-10-04 18:01:34 -070031 select SYS_FSL_HAS_DP_DDR
32 select SYS_FSL_SRDS_2
York Sun4dd8c612016-10-04 14:31:48 -070033
34config FSL_LSCH2
35 bool
York Sun6b62ef02016-10-04 18:01:34 -070036 select SYS_FSL_SRDS_1
37 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -070038
39config FSL_LSCH3
40 bool
York Sun6b62ef02016-10-04 18:01:34 -070041 select SYS_FSL_SRDS_1
42 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -070043
44menu "Layerscape architecture"
45 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -070046
York Sunb3d71642016-09-26 08:09:26 -070047config SYS_FSL_MMDC
York Sunfcd0e742016-10-04 14:31:47 -070048 bool
York Sun149eb332016-09-26 08:09:27 -070049
50config SYS_FSL_ERRATUM_A010315
51 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080052
53config SYS_FSL_ERRATUM_A010539
54 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -070055
York Sunf188d222016-10-04 14:45:01 -070056config 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 Sun0dc9abb2016-10-04 14:46:50 -070069config NUM_DDR_CONTROLLERS
70 int "Maximum DDR controllers"
71 default 3 if ARCH_LS2080A
72 default 1
73
York Sun728e7002016-12-02 09:32:35 -080074config SECURE_BOOT
75 bool
76 help
77 Enable Freescale Secure Boot feature
78
York Sune7310a32016-10-04 14:45:54 -070079config 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 Sun0dc9abb2016-10-04 14:46:50 -070086config SYS_FSL_HAS_DP_DDR
87 bool
88
York Sun6b62ef02016-10-04 18:01:34 -070089config SYS_FSL_SRDS_1
90 bool
91
92config SYS_FSL_SRDS_2
93 bool
94
95config SYS_HAS_SERDES
96 bool
97
York Sunb6fffd82016-10-04 18:03:08 -070098config 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
105config SYS_FSL_DDR_BE
106 bool
107 help
108 Access DDR registers in big-endian.
109
110config SYS_FSL_DDR_LE
111 bool
112 help
113 Access DDR registers in little-endian.
114
115config SYS_FSL_DDR_VER
116 int
117 default 50 if SYS_FSL_DDR_VER_50
118
119config SYS_FSL_DDR_VER_50
120 bool
121
122config SYS_FSL_DDRC_ARM_GEN3
123 bool
124
125config SYS_FSL_DDRC_GEN4
126 bool
127
128config 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
136config 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 Sun4dd8c612016-10-04 14:31:48 -0700143endmenu