blob: 309b967b0dd5936c52f8e535e5c7aaf8f5ae8bdc [file] [log] [blame]
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +09001if ARCH_OMAP2PLUS
2
3choice
4 prompt "OMAP2+ platform select"
Tom Rinif2d78c12017-06-09 16:59:17 -04005 default OMAP34XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +09006
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +09007config OMAP34XX
8 bool "OMAP34XX SoC"
Michal Simek58008cb2018-07-23 15:55:15 +02009 select ARM_CORTEX_A8_CVE_2017_5715
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090010 select ARM_ERRATA_430973
11 select ARM_ERRATA_454179
12 select ARM_ERRATA_621766
13 select ARM_ERRATA_725233
Simon Glass27084c02019-09-25 08:56:27 -060014 select SPL_USE_TINY_PRINTF if SPL
Adam Ford0a9ef452017-10-16 14:08:26 -050015 imply NAND_OMAP_GPMC
Tien Fong Cheef4b40922019-01-23 14:20:05 +080016 imply SPL_FS_EXT4
Tien Fong Chee0c3a9ed2019-01-23 14:20:03 +080017 imply SPL_FS_FAT
Simon Glass83061db2021-07-10 21:14:30 -060018 imply SPL_GPIO
Simon Glass975e7cf2021-07-10 21:14:36 -060019 imply SPL_I2C
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090020 imply SPL_LIBCOMMON_SUPPORT
21 imply SPL_LIBDISK_SUPPORT
22 imply SPL_LIBGENERIC_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -060023 imply SPL_MMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090024 imply SPL_NAND_SUPPORT
Adam Fordedd16532017-08-11 08:51:20 -050025 imply SPL_OMAP3_ID_NAND
Simon Glass933b2f02021-07-10 21:14:24 -060026 imply SPL_POWER
Simon Glass2a736062021-08-08 12:20:12 -060027 imply SPL_SERIAL
Adam Forddaa0f052017-08-07 13:11:34 -050028 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090029 imply SYS_THUMB_BUILD
Adam Ford7815c702017-04-26 13:41:31 -050030 imply TWL4030_POWER
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090031
32config OMAP44XX
33 bool "OMAP44XX SoC"
Tom Rini448e2b62023-01-16 15:46:49 -050034 select DM_EVENT
Simon Glass27084c02019-09-25 08:56:27 -060035 select SPL_USE_TINY_PRINTF
Pali Rohár372779a2022-04-06 16:20:18 +020036 select SPL_SYS_NO_VECTOR_TABLE if SPL
Adam Ford0a9ef452017-10-16 14:08:26 -050037 imply NAND_OMAP_ELM
38 imply NAND_OMAP_GPMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090039 imply SPL_DISPLAY_PRINT
Tien Fong Cheef4b40922019-01-23 14:20:05 +080040 imply SPL_FS_EXT4
Tien Fong Chee0c3a9ed2019-01-23 14:20:03 +080041 imply SPL_FS_FAT
Simon Glass83061db2021-07-10 21:14:30 -060042 imply SPL_GPIO
Simon Glass975e7cf2021-07-10 21:14:36 -060043 imply SPL_I2C
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090044 imply SPL_LIBCOMMON_SUPPORT
45 imply SPL_LIBDISK_SUPPORT
46 imply SPL_LIBGENERIC_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -060047 imply SPL_MMC
Adam Ford0a9ef452017-10-16 14:08:26 -050048 imply SPL_NAND_SIMPLE
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090049 imply SPL_NAND_SUPPORT
Simon Glass933b2f02021-07-10 21:14:24 -060050 imply SPL_POWER
Simon Glass2a736062021-08-08 12:20:12 -060051 imply SPL_SERIAL
Adam Forddaa0f052017-08-07 13:11:34 -050052 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090053 imply SYS_THUMB_BUILD
54
55config OMAP54XX
56 bool "OMAP54XX SoC"
Michal Simek58008cb2018-07-23 15:55:15 +020057 select ARM_CORTEX_A15_CVE_2017_5715
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090058 select ARM_ERRATA_798870
Tom Rini448e2b62023-01-16 15:46:49 -050059 select DM_EVENT
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090060 select SYS_THUMB_BUILD
Adam Ford0a9ef452017-10-16 14:08:26 -050061 imply NAND_OMAP_ELM
62 imply NAND_OMAP_GPMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090063 imply SPL_DISPLAY_PRINT
64 imply SPL_ENV_SUPPORT
Tien Fong Cheef4b40922019-01-23 14:20:05 +080065 imply SPL_FS_EXT4
Tien Fong Chee0c3a9ed2019-01-23 14:20:03 +080066 imply SPL_FS_FAT
Simon Glass83061db2021-07-10 21:14:30 -060067 imply SPL_GPIO
Simon Glass975e7cf2021-07-10 21:14:36 -060068 imply SPL_I2C
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090069 imply SPL_LIBCOMMON_SUPPORT
70 imply SPL_LIBDISK_SUPPORT
71 imply SPL_LIBGENERIC_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -060072 imply SPL_MMC
Adam Ford0a9ef452017-10-16 14:08:26 -050073 imply SPL_NAND_AM33XX_BCH
74 imply SPL_NAND_AM33XX_BCH
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090075 imply SPL_NAND_SUPPORT
Simon Glass933b2f02021-07-10 21:14:24 -060076 imply SPL_POWER
Simon Glass2a736062021-08-08 12:20:12 -060077 imply SPL_SERIAL
Adam Forddaa0f052017-08-07 13:11:34 -050078 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090079
Tom Rini8bb687f2017-05-16 14:46:40 -040080config TI816X
81 bool "TI816X SoC"
Tom Rini6f6b7cf2018-03-06 19:02:27 -050082 select SPECIFY_CONSOLE_INDEX
Adam Ford0a9ef452017-10-16 14:08:26 -050083 imply NAND_OMAP_ELM
84 imply NAND_OMAP_GPMC
Tom Rini8bb687f2017-05-16 14:46:40 -040085 help
86 Support for AM335x SOC from Texas Instruments.
87 The AM335x high performance SOC features a Cortex-A8
88 ARM core and more.
89
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090090config AM43XX
91 bool "AM43XX SoC"
Tom Rini6f6b7cf2018-03-06 19:02:27 -050092 select SPECIFY_CONSOLE_INDEX
Philip Oberfichtner11168882022-08-17 15:07:12 +020093 select SYS_L2_PL310 if !SYS_L2CACHE_OFF
Adam Ford0a9ef452017-10-16 14:08:26 -050094 imply NAND_OMAP_ELM
95 imply NAND_OMAP_GPMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090096 imply SPL_DM
97 imply SPL_DM_SEQ_ALIAS
Adam Ford0a9ef452017-10-16 14:08:26 -050098 imply SPL_NAND_AM33XX_BCH
99 imply SPL_NAND_SUPPORT
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900100 imply SPL_OF_CONTROL
101 imply SPL_OF_TRANSLATE
102 imply SPL_SEPARATE_BSS
103 imply SPL_SYS_MALLOC_SIMPLE
Adam Forddaa0f052017-08-07 13:11:34 -0500104 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900105 imply SYS_THUMB_BUILD
106 help
107 Support for AM43xx SOC from Texas Instruments.
108 The AM43xx high performance SOC features a Cortex-A9
109 ARM core, a quad core PRU-ICSS for industrial Ethernet
110 protocols, dual camera support, optional 3D graphics
111 and an optional customer programmable secure boot.
112
113config AM33XX
114 bool "AM33XX SoC"
Nishanth Menon94c6a892018-06-12 15:24:11 -0500115 select ARM_CORTEX_A8_CVE_2017_5715
Tom Rini448e2b62023-01-16 15:46:49 -0500116 select DM_EVENT
Michal Simek58008cb2018-07-23 15:55:15 +0200117 select SPECIFY_CONSOLE_INDEX
Adam Ford0a9ef452017-10-16 14:08:26 -0500118 imply NAND_OMAP_ELM
119 imply NAND_OMAP_GPMC
Tom Rinia2ac2b92021-08-27 21:18:30 -0400120 imply SKIP_LOWLEVEL_INIT
Adam Ford0a9ef452017-10-16 14:08:26 -0500121 imply SPL_NAND_AM33XX_BCH
122 imply SPL_NAND_SUPPORT
Adam Forddaa0f052017-08-07 13:11:34 -0500123 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900124 imply SYS_THUMB_BUILD
Simon Glass27084c02019-09-25 08:56:27 -0600125 imply SPL_USE_TINY_PRINTF
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900126 help
127 Support for AM335x SOC from Texas Instruments.
128 The AM335x high performance SOC features a Cortex-A8
129 ARM core, a dual core PRU-ICSS for industrial Ethernet
130 protocols, optional 3D graphics and an optional customer
131 programmable secure boot.
132
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900133endchoice
134
Lokesh Vutlac187dd62017-05-05 12:59:07 +0530135config SYS_MPUCLK
136 int "MPU CLK speed"
Adam Ford876ddb52018-10-07 09:58:25 -0500137 depends on AM33XX
Lokesh Vutla59041a52017-05-05 12:59:08 +0530138 default 500
Lokesh Vutlac187dd62017-05-05 12:59:07 +0530139 help
140 Defines the MPU clock speed (in MHz).
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900141
Tom Rini789bb952022-11-16 13:10:32 -0500142config SYS_OMAP_ABE_SYSCK
143 bool
144
Andrew F. Davis3348e0c2017-07-10 14:45:49 -0500145config TI_SECURE_EMIF_REGION_START
146 hex "Reserved EMIF region start address"
147 depends on TI_SECURE_DEVICE
148 default 0x0
149 help
150 Reserved EMIF region start address. Set to "0" to auto-select
151 to be at the end of the external memory region.
152
153config TI_SECURE_EMIF_TOTAL_REGION_SIZE
154 hex "Reserved EMIF region size"
155 depends on TI_SECURE_DEVICE
156 default 0x0
157 help
158 Total reserved EMIF region size. Default is 0, which means no reserved EMIF
159 region on secure devices.
160
161config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
162 hex "Size of protected region within reserved EMIF region"
163 depends on TI_SECURE_DEVICE
164 default 0x0
165 help
166 This config option is used to specify the size of the portion of the total
167 reserved EMIF region set aside for secure OS needs that will be protected
168 using hardware memory firewalls. This value must be smaller than the
169 TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
170
Tom Rini2bb9d7c2022-06-25 11:02:37 -0400171config SYS_AUTOMATIC_SDRAM_DETECTION
172 bool
173
174choice
175 depends on OMAP44XX || OMAP54XX
176 prompt "Static or dynamic DDR timing calculations"
177 default SYS_EMIF_PRECALCULATED_TIMING_REGS
178 help
179 For the DDR timing information we can either dynamically determine
180 the timings to use or use pre-determined timings (based on using the
181 dynamic method). Default to the static timing information.
182
183config SYS_EMIF_PRECALCULATED_TIMING_REGS
184 bool "Use precalcualted timing values"
185
186config SYS_DEFAULT_LPDDR2_TIMINGS
187 bool "Use default LPDDR2 timing values"
188 select SYS_AUTOMATIC_SDRAM_DETECTION
189
190endchoice
191
Tom Rini983e3702016-11-07 21:34:54 -0500192source "arch/arm/mach-omap2/omap3/Kconfig"
Madan Srinivasa774e082016-05-19 19:10:44 -0500193
Tom Rini983e3702016-11-07 21:34:54 -0500194source "arch/arm/mach-omap2/omap4/Kconfig"
Madan Srinivasa774e082016-05-19 19:10:44 -0500195
Tom Rini983e3702016-11-07 21:34:54 -0500196source "arch/arm/mach-omap2/omap5/Kconfig"
Madan Srinivasa774e082016-05-19 19:10:44 -0500197
Tom Rini983e3702016-11-07 21:34:54 -0500198source "arch/arm/mach-omap2/am33xx/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900199
200source "board/BuR/brxre1/Kconfig"
Hannes Schmelzer60df8092019-08-01 07:04:46 +0200201source "board/BuR/brsmarc1/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900202source "board/BuR/brppt1/Kconfig"
203source "board/siemens/draco/Kconfig"
204source "board/siemens/pxm2/Kconfig"
205source "board/siemens/rut/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900206source "board/ti/ti816x/Kconfig"
207source "board/ti/am43xx/Kconfig"
208source "board/ti/am335x/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900209source "board/compulab/cm_t43/Kconfig"
Niel Fourie6e171b62019-06-03 15:31:17 +0200210source "board/phytec/phycore_am335x_r2/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900211
212endif