blob: e75a895e0086c71ebe9a1dec09ff3d97e4051781 [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
Tom Rinif4ec7132022-07-23 13:05:09 -04006 select SYS_FSL_IFC_BE
York Sun1dc61ca2016-12-28 08:43:41 -08007 select SYS_FSL_ERRATUM_A008378
8 select SYS_FSL_ERRATUM_A008407
Tom Rini56184602022-02-25 11:19:53 -05009 select SYS_FSL_ERRATUM_A008850 if SYS_FSL_DDR
Aleksandar Gerasimovski58aeddc2020-11-26 10:52:41 +000010 select SYS_FSL_ERRATUM_A008997 if USB
Aleksandar Gerasimovski58aeddc2020-11-26 10:52:41 +000011 select SYS_FSL_ERRATUM_A009008 if USB
York Sun1dc61ca2016-12-28 08:43:41 -080012 select SYS_FSL_ERRATUM_A009663
Aleksandar Gerasimovski58aeddc2020-11-26 10:52:41 +000013 select SYS_FSL_ERRATUM_A009798 if USB
York Sun1dc61ca2016-12-28 08:43:41 -080014 select SYS_FSL_ERRATUM_A009942
York Sun149eb332016-09-26 08:09:27 -070015 select SYS_FSL_ERRATUM_A010315
Tom Rinif4ec7132022-07-23 13:05:09 -040016 select SYS_FSL_ESDHC_BE
Ashish Kumar11234062017-08-11 11:09:14 +053017 select SYS_FSL_HAS_CCI400
York Sund297d392016-12-28 08:43:40 -080018 select SYS_FSL_HAS_DDR3 if SYS_FSL_DDR
19 select SYS_FSL_HAS_DDR4 if SYS_FSL_DDR
York Sun92c36e22016-12-28 08:43:30 -080020 select SYS_FSL_HAS_SEC
21 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080022 select SYS_FSL_SEC_LE
Michal Simek7e7ba3b2018-07-23 15:55:15 +020023 select SYS_FSL_SRDS_1
24 select SYS_HAS_SERDES
Tom Rini1a195882021-08-18 23:12:33 -040025 select SYS_I2C_MXC
Michal Simek7e7ba3b2018-07-23 15:55:15 +020026 imply CMD_PCI
Simon Glass0e5faf02017-06-14 21:28:21 -060027 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020028 imply SCSI_AHCI
York Sun4de7e932016-09-26 08:09:29 -070029
York Sun4dd8c612016-10-04 14:31:48 -070030menu "LS102xA architecture"
31 depends on ARCH_LS1021A
32
York Sun4de7e932016-09-26 08:09:29 -070033config LS1_DEEP_SLEEP
York Sunfcd0e742016-10-04 14:31:47 -070034 bool "Deep sleep"
York Sun4dd8c612016-10-04 14:31:48 -070035
York Sunf188d222016-10-04 14:45:01 -070036config MAX_CPUS
37 int "Maximum number of CPUs permitted for LS102xA"
York Sunf188d222016-10-04 14:45:01 -070038 default 2
39 help
40 Set this number to the maximum number of possible CPUs in the SoC.
41 SoCs may have multiple clusters with each cluster may have multiple
42 ports. If some ports are reserved but higher ports are used for
43 cores, count the reserved ports. This will allocate enough memory
44 in spin table to properly handle all cores.
45
Ashish Kumar11234062017-08-11 11:09:14 +053046config SYS_CCI400_OFFSET
47 hex "Offset for CCI400 base"
48 depends on SYS_FSL_HAS_CCI400
49 default 0x180000
50 help
51 Offset for CCI400 base.
52 CCI400 base addr = CCSRBAR + CCI400_OFFSET
53
Alison Wangd6be97b2019-03-06 14:49:14 +080054config SYS_FSL_ERRATUM_A008850
55 bool
56 help
57 Workaround for DDR erratum A008850
58
Ran Wang373a7b02017-09-04 18:46:54 +080059config SYS_FSL_ERRATUM_A008997
60 bool
61 help
62 Workaround for USB PHY erratum A008997
63
Ran Wang2eb48982017-09-04 18:46:55 +080064config SYS_FSL_ERRATUM_A009007
65 bool
66 help
67 Workaround for USB PHY erratum A009007
68
Ran Wang1509c8a2017-09-04 18:46:52 +080069config SYS_FSL_ERRATUM_A009008
70 bool
71 help
72 Workaround for USB PHY erratum A009008
73
Ran Wangd2b711b72017-09-04 18:46:53 +080074config SYS_FSL_ERRATUM_A009798
75 bool
76 help
77 Workaround for USB PHY erratum A009798
78
York Sun4dd8c612016-10-04 14:31:48 -070079config SYS_FSL_ERRATUM_A010315
80 bool "Workaround for PCIe erratum A010315"
81
Ashish Kumar11234062017-08-11 11:09:14 +053082config SYS_FSL_HAS_CCI400
83 bool
84
York Sun6b62ef02016-10-04 18:01:34 -070085config SYS_FSL_SRDS_1
86 bool
87
88config SYS_FSL_SRDS_2
89 bool
90
91config SYS_HAS_SERDES
92 bool
York Sunf64fc5c2016-10-04 18:04:37 -070093
York Sune7310a32016-10-04 14:45:54 -070094config SYS_FSL_IFC_BANK_COUNT
95 int "Maximum banks of Integrated flash controller"
York Sune7310a32016-10-04 14:45:54 -070096 default 8
97
York Sun1dc61ca2016-12-28 08:43:41 -080098config SYS_FSL_ERRATUM_A008407
99 bool
100
York Sun4dd8c612016-10-04 14:31:48 -0700101endmenu