blob: 94fa68250ddfee2c203b9b8087360551e4294eb4 [file] [log] [blame]
York Sun149eb332016-09-26 08:09:27 -07001config ARCH_LS1021A
York Sunfcd0e742016-10-04 14:31:47 -07002 bool
Michal Simek7e7ba3b2018-07-23 15:55:15 +02003 select SYS_FSL_DDR_BE if SYS_FSL_DDR
4 select SYS_FSL_DDR_VER_50 if SYS_FSL_DDR
York Sun1dc61ca2016-12-28 08:43:41 -08005 select SYS_FSL_ERRATUM_A008378
6 select SYS_FSL_ERRATUM_A008407
Alison Wangd6be97b2019-03-06 14:49:14 +08007 select SYS_FSL_ERRATUM_A008850
Ran Wang373a7b02017-09-04 18:46:54 +08008 select SYS_FSL_ERRATUM_A008997
Ran Wang2eb48982017-09-04 18:46:55 +08009 select SYS_FSL_ERRATUM_A009007
Ran Wang1509c8a2017-09-04 18:46:52 +080010 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -080011 select SYS_FSL_ERRATUM_A009663
Ran Wangd2b711b72017-09-04 18:46:53 +080012 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080013 select SYS_FSL_ERRATUM_A009942
York Sun149eb332016-09-26 08:09:27 -070014 select SYS_FSL_ERRATUM_A010315
Ashish Kumar11234062017-08-11 11:09:14 +053015 select SYS_FSL_HAS_CCI400
York Sund297d392016-12-28 08:43:40 -080016 select SYS_FSL_HAS_DDR3 if SYS_FSL_DDR
17 select SYS_FSL_HAS_DDR4 if SYS_FSL_DDR
York Sun92c36e22016-12-28 08:43:30 -080018 select SYS_FSL_HAS_SEC
19 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080020 select SYS_FSL_SEC_LE
Michal Simek7e7ba3b2018-07-23 15:55:15 +020021 select SYS_FSL_SRDS_1
22 select SYS_HAS_SERDES
23 imply CMD_PCI
Simon Glass0e5faf02017-06-14 21:28:21 -060024 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020025 imply SCSI_AHCI
York Sun4de7e932016-09-26 08:09:29 -070026
York Sun4dd8c612016-10-04 14:31:48 -070027menu "LS102xA architecture"
28 depends on ARCH_LS1021A
29
Hou Zhiqiangd553bf22016-12-13 14:54:24 +080030config FSL_PCIE_COMPAT
31 string "PCIe compatible of Kernel DT"
32 depends on PCIE_LAYERSCAPE
33 default "fsl,ls1021a-pcie" if ARCH_LS1021A
34 help
35 This compatible is used to find pci controller node in Kernel DT
36 to complete fixup.
37
York Sun4de7e932016-09-26 08:09:29 -070038config LS1_DEEP_SLEEP
York Sunfcd0e742016-10-04 14:31:47 -070039 bool "Deep sleep"
40 depends on ARCH_LS1021A
York Sun4dd8c612016-10-04 14:31:48 -070041
York Sunf188d222016-10-04 14:45:01 -070042config MAX_CPUS
43 int "Maximum number of CPUs permitted for LS102xA"
44 depends on ARCH_LS1021A
45 default 2
46 help
47 Set this number to the maximum number of possible CPUs in the SoC.
48 SoCs may have multiple clusters with each cluster may have multiple
49 ports. If some ports are reserved but higher ports are used for
50 cores, count the reserved ports. This will allocate enough memory
51 in spin table to properly handle all cores.
52
York Sundfa93a92016-12-02 09:31:43 -080053config SECURE_BOOT
54 bool "Secure Boot"
55 help
56 Enable Freescale Secure Boot feature. Normally selected
57 by defconfig. If unsure, do not change.
58
Ashish Kumar11234062017-08-11 11:09:14 +053059config SYS_CCI400_OFFSET
60 hex "Offset for CCI400 base"
61 depends on SYS_FSL_HAS_CCI400
62 default 0x180000
63 help
64 Offset for CCI400 base.
65 CCI400 base addr = CCSRBAR + CCI400_OFFSET
66
Alison Wangd6be97b2019-03-06 14:49:14 +080067config SYS_FSL_ERRATUM_A008850
68 bool
69 help
70 Workaround for DDR erratum A008850
71
Ran Wang373a7b02017-09-04 18:46:54 +080072config SYS_FSL_ERRATUM_A008997
73 bool
74 help
75 Workaround for USB PHY erratum A008997
76
Ran Wang2eb48982017-09-04 18:46:55 +080077config SYS_FSL_ERRATUM_A009007
78 bool
79 help
80 Workaround for USB PHY erratum A009007
81
Ran Wang1509c8a2017-09-04 18:46:52 +080082config SYS_FSL_ERRATUM_A009008
83 bool
84 help
85 Workaround for USB PHY erratum A009008
86
Ran Wangd2b711b72017-09-04 18:46:53 +080087config SYS_FSL_ERRATUM_A009798
88 bool
89 help
90 Workaround for USB PHY erratum A009798
91
York Sun4dd8c612016-10-04 14:31:48 -070092config SYS_FSL_ERRATUM_A010315
93 bool "Workaround for PCIe erratum A010315"
94
Ashish Kumar11234062017-08-11 11:09:14 +053095config SYS_FSL_HAS_CCI400
96 bool
97
York Sun6b62ef02016-10-04 18:01:34 -070098config SYS_FSL_SRDS_1
99 bool
100
101config SYS_FSL_SRDS_2
102 bool
103
104config SYS_HAS_SERDES
105 bool
York Sunf64fc5c2016-10-04 18:04:37 -0700106
York Sune7310a32016-10-04 14:45:54 -0700107config SYS_FSL_IFC_BANK_COUNT
108 int "Maximum banks of Integrated flash controller"
109 depends on ARCH_LS1021A
110 default 8
111
York Sun1dc61ca2016-12-28 08:43:41 -0800112config SYS_FSL_ERRATUM_A008407
113 bool
114
York Sun4dd8c612016-10-04 14:31:48 -0700115endmenu