blob: d154f7b0f68c8b4d9066e2bef326b1a4c483b3d8 [file] [log] [blame]
York Sun149eb332016-09-26 08:09:27 -07001config ARCH_LS1021A
York Sunfcd0e742016-10-04 14:31:47 -07002 bool
York Sun149eb332016-09-26 08:09:27 -07003 select SYS_FSL_ERRATUM_A010315
York Sun6b62ef02016-10-04 18:01:34 -07004 select SYS_FSL_SRDS_1
5 select SYS_HAS_SERDES
York Sunf64fc5c2016-10-04 18:04:37 -07006 select SYS_FSL_DDR_BE
7 select SYS_FSL_DDR_VER_50
York Sun92c36e22016-12-28 08:43:30 -08008 select SYS_FSL_HAS_SEC
9 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080010 select SYS_FSL_SEC_LE
York Sun4de7e932016-09-26 08:09:29 -070011
York Sun4dd8c612016-10-04 14:31:48 -070012menu "LS102xA architecture"
13 depends on ARCH_LS1021A
14
York Sun4de7e932016-09-26 08:09:29 -070015config LS1_DEEP_SLEEP
York Sunfcd0e742016-10-04 14:31:47 -070016 bool "Deep sleep"
17 depends on ARCH_LS1021A
York Sun4dd8c612016-10-04 14:31:48 -070018
York Sunf188d222016-10-04 14:45:01 -070019config MAX_CPUS
20 int "Maximum number of CPUs permitted for LS102xA"
21 depends on ARCH_LS1021A
22 default 2
23 help
24 Set this number to the maximum number of possible CPUs in the SoC.
25 SoCs may have multiple clusters with each cluster may have multiple
26 ports. If some ports are reserved but higher ports are used for
27 cores, count the reserved ports. This will allocate enough memory
28 in spin table to properly handle all cores.
29
York Sunf64fc5c2016-10-04 18:04:37 -070030config NUM_DDR_CONTROLLERS
31 int "Maximum DDR controllers"
32 default 1
33
York Sundfa93a92016-12-02 09:31:43 -080034config SECURE_BOOT
35 bool "Secure Boot"
36 help
37 Enable Freescale Secure Boot feature. Normally selected
38 by defconfig. If unsure, do not change.
39
York Sun4dd8c612016-10-04 14:31:48 -070040config SYS_FSL_ERRATUM_A010315
41 bool "Workaround for PCIe erratum A010315"
42
York Sun6b62ef02016-10-04 18:01:34 -070043config SYS_FSL_SRDS_1
44 bool
45
46config SYS_FSL_SRDS_2
47 bool
48
49config SYS_HAS_SERDES
50 bool
York Sunf64fc5c2016-10-04 18:04:37 -070051
52config SYS_FSL_DDR
53 bool "Freescale DDR driver"
54 help
55 Select Freescale General DDR driver, shared between most Freescale
56 PowerPC- based SoCs (such as mpc83xx, mpc85xx, mpc86xx) and ARM-
57 based Layerscape SoCs (such as ls2080a).
58
59config SYS_FSL_DDR_BE
60 bool
61 default y
62 help
63 Access DDR registers in big-endian.
64
65config SYS_FSL_DDR_VER
66 int
67 default 50 if SYS_FSL_DDR_VER_50
68
69config SYS_FSL_DDR_VER_50
70 bool
71
72config SYS_FSL_DDRC_ARM_GEN3
73 bool
74
75config SYS_FSL_DDRC_GEN4
76 bool
77
78config SYS_FSL_DDR3
79 bool "Freescale DDR3 controller"
80 depends on !SYS_FSL_DDR4
81 select SYS_FSL_DDR
82 select SYS_FSL_DDRC_ARM_GEN3
83 help
84 Enable Freescale DDR3 controller on ARM-based SoCs.
85
86config SYS_FSL_DDR4
87 bool "Freescale DDR4 controller"
88 select SYS_FSL_DDR
89 select SYS_FSL_DDRC_GEN4
90 help
91 Enable Freescale DDR4 controller.
York Sun6b62ef02016-10-04 18:01:34 -070092
York Sune7310a32016-10-04 14:45:54 -070093config SYS_FSL_IFC_BANK_COUNT
94 int "Maximum banks of Integrated flash controller"
95 depends on ARCH_LS1021A
96 default 8
97
York Sun4dd8c612016-10-04 14:31:48 -070098endmenu