blob: 3e292bf70e18daba15591d992e59a888da75573b [file] [log] [blame]
York Sun149eb332016-09-26 08:09:27 -07001config ARCH_LS1021A
York Sunfcd0e742016-10-04 14:31:47 -07002 bool
Tom Rini2e15b4a2022-11-19 18:45:10 -05003 select FSL_DEVICE_DISABLE
Tom Rini05b419e2021-12-11 14:55:49 -05004 select FSL_IFC if !QSPI_BOOT && !SD_BOOT_QSPI
Tom Rini370e11c2022-11-19 18:45:25 -05005 select LS102XA_STREAM_ID
Michal Simek7e7ba3b2018-07-23 15:55:15 +02006 select SYS_FSL_DDR_BE if SYS_FSL_DDR
7 select SYS_FSL_DDR_VER_50 if SYS_FSL_DDR
Tom Rinif4ec7132022-07-23 13:05:09 -04008 select SYS_FSL_IFC_BE
York Sun1dc61ca2016-12-28 08:43:41 -08009 select SYS_FSL_ERRATUM_A008378
10 select SYS_FSL_ERRATUM_A008407
Tom Rini56184602022-02-25 11:19:53 -050011 select SYS_FSL_ERRATUM_A008850 if SYS_FSL_DDR
Aleksandar Gerasimovski58aeddc2020-11-26 10:52:41 +000012 select SYS_FSL_ERRATUM_A008997 if USB
Aleksandar Gerasimovski58aeddc2020-11-26 10:52:41 +000013 select SYS_FSL_ERRATUM_A009008 if USB
York Sun1dc61ca2016-12-28 08:43:41 -080014 select SYS_FSL_ERRATUM_A009663
Aleksandar Gerasimovski58aeddc2020-11-26 10:52:41 +000015 select SYS_FSL_ERRATUM_A009798 if USB
York Sun1dc61ca2016-12-28 08:43:41 -080016 select SYS_FSL_ERRATUM_A009942
York Sun149eb332016-09-26 08:09:27 -070017 select SYS_FSL_ERRATUM_A010315
Tom Rinif4ec7132022-07-23 13:05:09 -040018 select SYS_FSL_ESDHC_BE
Ashish Kumar11234062017-08-11 11:09:14 +053019 select SYS_FSL_HAS_CCI400
York Sund297d392016-12-28 08:43:40 -080020 select SYS_FSL_HAS_DDR3 if SYS_FSL_DDR
21 select SYS_FSL_HAS_DDR4 if SYS_FSL_DDR
York Sun92c36e22016-12-28 08:43:30 -080022 select SYS_FSL_HAS_SEC
23 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080024 select SYS_FSL_SEC_LE
Michal Simek7e7ba3b2018-07-23 15:55:15 +020025 select SYS_FSL_SRDS_1
26 select SYS_HAS_SERDES
Tom Rini1a195882021-08-18 23:12:33 -040027 select SYS_I2C_MXC
Michal Simek7e7ba3b2018-07-23 15:55:15 +020028 imply CMD_PCI
Simon Glass0e5faf02017-06-14 21:28:21 -060029 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020030 imply SCSI_AHCI
York Sun4de7e932016-09-26 08:09:29 -070031
York Sun4dd8c612016-10-04 14:31:48 -070032menu "LS102xA architecture"
33 depends on ARCH_LS1021A
34
Tom Rini2e15b4a2022-11-19 18:45:10 -050035config FSL_DEVICE_DISABLE
36 bool
37
York Sun4de7e932016-09-26 08:09:29 -070038config LS1_DEEP_SLEEP
York Sunfcd0e742016-10-04 14:31:47 -070039 bool "Deep sleep"
York Sun4dd8c612016-10-04 14:31:48 -070040
Tom Rini370e11c2022-11-19 18:45:25 -050041config LS102XA_STREAM_ID
42 bool
43
York Sunf188d222016-10-04 14:45:01 -070044config MAX_CPUS
45 int "Maximum number of CPUs permitted for LS102xA"
York Sunf188d222016-10-04 14:45:01 -070046 default 2
47 help
48 Set this number to the maximum number of possible CPUs in the SoC.
49 SoCs may have multiple clusters with each cluster may have multiple
50 ports. If some ports are reserved but higher ports are used for
51 cores, count the reserved ports. This will allocate enough memory
52 in spin table to properly handle all cores.
53
Tom Rinid7b177e2022-12-02 16:42:40 -050054config PEN_ADDR_BIG_ENDIAN
55 bool
56
Ashish Kumar11234062017-08-11 11:09:14 +053057config SYS_CCI400_OFFSET
58 hex "Offset for CCI400 base"
59 depends on SYS_FSL_HAS_CCI400
60 default 0x180000
61 help
62 Offset for CCI400 base.
63 CCI400 base addr = CCSRBAR + CCI400_OFFSET
64
Alison Wangd6be97b2019-03-06 14:49:14 +080065config SYS_FSL_ERRATUM_A008850
66 bool
67 help
68 Workaround for DDR erratum A008850
69
Ran Wang373a7b02017-09-04 18:46:54 +080070config SYS_FSL_ERRATUM_A008997
71 bool
72 help
73 Workaround for USB PHY erratum A008997
74
Ran Wang2eb48982017-09-04 18:46:55 +080075config SYS_FSL_ERRATUM_A009007
76 bool
77 help
78 Workaround for USB PHY erratum A009007
79
Ran Wang1509c8a2017-09-04 18:46:52 +080080config SYS_FSL_ERRATUM_A009008
81 bool
82 help
83 Workaround for USB PHY erratum A009008
84
Ran Wangd2b711b72017-09-04 18:46:53 +080085config SYS_FSL_ERRATUM_A009798
86 bool
87 help
88 Workaround for USB PHY erratum A009798
89
York Sun4dd8c612016-10-04 14:31:48 -070090config SYS_FSL_ERRATUM_A010315
91 bool "Workaround for PCIe erratum A010315"
92
Ashish Kumar11234062017-08-11 11:09:14 +053093config SYS_FSL_HAS_CCI400
94 bool
95
York Sun1dc61ca2016-12-28 08:43:41 -080096config SYS_FSL_ERRATUM_A008407
97 bool
98
Mario Kicherer03ee72a2023-02-01 14:16:22 +080099config SYS_FSL_QSPI_SKIP_CLKSEL
100 bool "Skip setting QSPI clock during SoC init"
101 default 0
102 help
103 To improve startup times when booting from QSPI flash, the QSPI
104 frequency can be set very early in the boot process. If this option
105 is enabled, the QSPI frequency will not be changed by U-Boot during
106 SoC initialization.
107
York Sun4dd8c612016-10-04 14:31:48 -0700108endmenu