blob: 28589aea8f1cb5b3f274ac5f8cb0b387a4c8e8c1 [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 Sunb3d71642016-09-26 08:09:26 -07004 select SYS_FSL_MMDC
York Sun149eb332016-09-26 08:09:27 -07005 select SYS_FSL_ERRATUM_A010315
6
7config ARCH_LS1043A
York Sunfcd0e742016-10-04 14:31:47 -07008 bool
York Sun4dd8c612016-10-04 14:31:48 -07009 select FSL_LSCH2
York Sun149eb332016-09-26 08:09:27 -070010 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080011 select SYS_FSL_ERRATUM_A010539
York Sunb3d71642016-09-26 08:09:26 -070012
York Sunbad49842016-09-26 08:09:24 -070013config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070014 bool
York Sun4dd8c612016-10-04 14:31:48 -070015 select FSL_LSCH2
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080016 select SYS_FSL_ERRATUM_A010539
York Sun6b62ef02016-10-04 18:01:34 -070017 select SYS_FSL_SRDS_2
York Sunb3d71642016-09-26 08:09:26 -070018
York Sunfcd0e742016-10-04 14:31:47 -070019config ARCH_LS2080A
20 bool
York Sun4dd8c612016-10-04 14:31:48 -070021 select FSL_LSCH3
York Sun6b62ef02016-10-04 18:01:34 -070022 select SYS_FSL_HAS_DP_DDR
23 select SYS_FSL_SRDS_2
York Sun4dd8c612016-10-04 14:31:48 -070024
25config FSL_LSCH2
26 bool
York Sun6b62ef02016-10-04 18:01:34 -070027 select SYS_FSL_SRDS_1
28 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -070029
30config FSL_LSCH3
31 bool
York Sun6b62ef02016-10-04 18:01:34 -070032 select SYS_FSL_SRDS_1
33 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -070034
35menu "Layerscape architecture"
36 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -070037
York Sunb3d71642016-09-26 08:09:26 -070038config SYS_FSL_MMDC
York Sunfcd0e742016-10-04 14:31:47 -070039 bool
York Sun149eb332016-09-26 08:09:27 -070040
41config SYS_FSL_ERRATUM_A010315
42 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080043
44config SYS_FSL_ERRATUM_A010539
45 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -070046
York Sunf188d222016-10-04 14:45:01 -070047config MAX_CPUS
48 int "Maximum number of CPUs permitted for Layerscape"
49 default 4 if ARCH_LS1043A
50 default 4 if ARCH_LS1046A
51 default 16 if ARCH_LS2080A
52 default 1
53 help
54 Set this number to the maximum number of possible CPUs in the SoC.
55 SoCs may have multiple clusters with each cluster may have multiple
56 ports. If some ports are reserved but higher ports are used for
57 cores, count the reserved ports. This will allocate enough memory
58 in spin table to properly handle all cores.
59
York Sun0dc9abb2016-10-04 14:46:50 -070060config NUM_DDR_CONTROLLERS
61 int "Maximum DDR controllers"
62 default 3 if ARCH_LS2080A
63 default 1
64
York Sune7310a32016-10-04 14:45:54 -070065config SYS_FSL_IFC_BANK_COUNT
66 int "Maximum banks of Integrated flash controller"
67 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
68 default 4 if ARCH_LS1043A
69 default 4 if ARCH_LS1046A
70 default 8 if ARCH_LS2080A
71
York Sun0dc9abb2016-10-04 14:46:50 -070072config SYS_FSL_HAS_DP_DDR
73 bool
74
York Sun6b62ef02016-10-04 18:01:34 -070075config SYS_FSL_SRDS_1
76 bool
77
78config SYS_FSL_SRDS_2
79 bool
80
81config SYS_HAS_SERDES
82 bool
83
York Sun4dd8c612016-10-04 14:31:48 -070084endmenu