blob: a901360fa7d8e6db0716288fd26f6be9b4c5a598 [file] [log] [blame]
York Sun149eb332016-09-26 08:09:27 -07001config ARCH_LS1021A
York Sunfcd0e742016-10-04 14:31:47 -07002 bool
Tom Rini05b419e2021-12-11 14:55:49 -05003 select FSL_IFC if !QSPI_BOOT && !SD_BOOT_QSPI
Michal Simek7e7ba3b2018-07-23 15:55:15 +02004 select SYS_FSL_DDR_BE if SYS_FSL_DDR
5 select SYS_FSL_DDR_VER_50 if SYS_FSL_DDR
York Sun1dc61ca2016-12-28 08:43:41 -08006 select SYS_FSL_ERRATUM_A008378
7 select SYS_FSL_ERRATUM_A008407
Tom Rini56184602022-02-25 11:19:53 -05008 select SYS_FSL_ERRATUM_A008850 if SYS_FSL_DDR
Aleksandar Gerasimovski58aeddc2020-11-26 10:52:41 +00009 select SYS_FSL_ERRATUM_A008997 if USB
Aleksandar Gerasimovski58aeddc2020-11-26 10:52:41 +000010 select SYS_FSL_ERRATUM_A009008 if USB
York Sun1dc61ca2016-12-28 08:43:41 -080011 select SYS_FSL_ERRATUM_A009663
Aleksandar Gerasimovski58aeddc2020-11-26 10:52:41 +000012 select SYS_FSL_ERRATUM_A009798 if USB
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
Tom Rini1a195882021-08-18 23:12:33 -040023 select SYS_I2C_MXC
Michal Simek7e7ba3b2018-07-23 15:55:15 +020024 imply CMD_PCI
Simon Glass0e5faf02017-06-14 21:28:21 -060025 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020026 imply SCSI_AHCI
York Sun4de7e932016-09-26 08:09:29 -070027
York Sun4dd8c612016-10-04 14:31:48 -070028menu "LS102xA architecture"
29 depends on ARCH_LS1021A
30
York Sun4de7e932016-09-26 08:09:29 -070031config LS1_DEEP_SLEEP
York Sunfcd0e742016-10-04 14:31:47 -070032 bool "Deep sleep"
York Sun4dd8c612016-10-04 14:31:48 -070033
York Sunf188d222016-10-04 14:45:01 -070034config MAX_CPUS
35 int "Maximum number of CPUs permitted for LS102xA"
York Sunf188d222016-10-04 14:45:01 -070036 default 2
37 help
38 Set this number to the maximum number of possible CPUs in the SoC.
39 SoCs may have multiple clusters with each cluster may have multiple
40 ports. If some ports are reserved but higher ports are used for
41 cores, count the reserved ports. This will allocate enough memory
42 in spin table to properly handle all cores.
43
Ashish Kumar11234062017-08-11 11:09:14 +053044config SYS_CCI400_OFFSET
45 hex "Offset for CCI400 base"
46 depends on SYS_FSL_HAS_CCI400
47 default 0x180000
48 help
49 Offset for CCI400 base.
50 CCI400 base addr = CCSRBAR + CCI400_OFFSET
51
Alison Wangd6be97b2019-03-06 14:49:14 +080052config SYS_FSL_ERRATUM_A008850
53 bool
54 help
55 Workaround for DDR erratum A008850
56
Ran Wang373a7b02017-09-04 18:46:54 +080057config SYS_FSL_ERRATUM_A008997
58 bool
59 help
60 Workaround for USB PHY erratum A008997
61
Ran Wang2eb48982017-09-04 18:46:55 +080062config SYS_FSL_ERRATUM_A009007
63 bool
64 help
65 Workaround for USB PHY erratum A009007
66
Ran Wang1509c8a2017-09-04 18:46:52 +080067config SYS_FSL_ERRATUM_A009008
68 bool
69 help
70 Workaround for USB PHY erratum A009008
71
Ran Wangd2b711b72017-09-04 18:46:53 +080072config SYS_FSL_ERRATUM_A009798
73 bool
74 help
75 Workaround for USB PHY erratum A009798
76
York Sun4dd8c612016-10-04 14:31:48 -070077config SYS_FSL_ERRATUM_A010315
78 bool "Workaround for PCIe erratum A010315"
79
Ashish Kumar11234062017-08-11 11:09:14 +053080config SYS_FSL_HAS_CCI400
81 bool
82
York Sun6b62ef02016-10-04 18:01:34 -070083config SYS_FSL_SRDS_1
84 bool
85
86config SYS_FSL_SRDS_2
87 bool
88
89config SYS_HAS_SERDES
90 bool
York Sunf64fc5c2016-10-04 18:04:37 -070091
York Sune7310a32016-10-04 14:45:54 -070092config SYS_FSL_IFC_BANK_COUNT
93 int "Maximum banks of Integrated flash controller"
York Sune7310a32016-10-04 14:45:54 -070094 default 8
95
York Sun1dc61ca2016-12-28 08:43:41 -080096config SYS_FSL_ERRATUM_A008407
97 bool
98
York Sun4dd8c612016-10-04 14:31:48 -070099endmenu