blob: 1db71df272124448b537cb2247483122ed806ab0 [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"
Simon Glass27084c02019-09-25 08:56:27 -060034 select SPL_USE_TINY_PRINTF
Pali Rohár372779a2022-04-06 16:20:18 +020035 select SPL_SYS_NO_VECTOR_TABLE if SPL
Adam Ford0a9ef452017-10-16 14:08:26 -050036 imply NAND_OMAP_ELM
37 imply NAND_OMAP_GPMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090038 imply SPL_DISPLAY_PRINT
Tien Fong Cheef4b40922019-01-23 14:20:05 +080039 imply SPL_FS_EXT4
Tien Fong Chee0c3a9ed2019-01-23 14:20:03 +080040 imply SPL_FS_FAT
Simon Glass83061db2021-07-10 21:14:30 -060041 imply SPL_GPIO
Simon Glass975e7cf2021-07-10 21:14:36 -060042 imply SPL_I2C
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090043 imply SPL_LIBCOMMON_SUPPORT
44 imply SPL_LIBDISK_SUPPORT
45 imply SPL_LIBGENERIC_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -060046 imply SPL_MMC
Adam Ford0a9ef452017-10-16 14:08:26 -050047 imply SPL_NAND_SIMPLE
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090048 imply SPL_NAND_SUPPORT
Simon Glass933b2f02021-07-10 21:14:24 -060049 imply SPL_POWER
Simon Glass2a736062021-08-08 12:20:12 -060050 imply SPL_SERIAL
Adam Forddaa0f052017-08-07 13:11:34 -050051 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090052 imply SYS_THUMB_BUILD
53
54config OMAP54XX
55 bool "OMAP54XX SoC"
Michal Simek58008cb2018-07-23 15:55:15 +020056 select ARM_CORTEX_A15_CVE_2017_5715
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090057 select ARM_ERRATA_798870
58 select SYS_THUMB_BUILD
Adam Ford0a9ef452017-10-16 14:08:26 -050059 imply NAND_OMAP_ELM
60 imply NAND_OMAP_GPMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090061 imply SPL_DISPLAY_PRINT
62 imply SPL_ENV_SUPPORT
Tien Fong Cheef4b40922019-01-23 14:20:05 +080063 imply SPL_FS_EXT4
Tien Fong Chee0c3a9ed2019-01-23 14:20:03 +080064 imply SPL_FS_FAT
Simon Glass83061db2021-07-10 21:14:30 -060065 imply SPL_GPIO
Simon Glass975e7cf2021-07-10 21:14:36 -060066 imply SPL_I2C
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090067 imply SPL_LIBCOMMON_SUPPORT
68 imply SPL_LIBDISK_SUPPORT
69 imply SPL_LIBGENERIC_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -060070 imply SPL_MMC
Adam Ford0a9ef452017-10-16 14:08:26 -050071 imply SPL_NAND_AM33XX_BCH
72 imply SPL_NAND_AM33XX_BCH
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090073 imply SPL_NAND_SUPPORT
Simon Glass933b2f02021-07-10 21:14:24 -060074 imply SPL_POWER
Simon Glass2a736062021-08-08 12:20:12 -060075 imply SPL_SERIAL
Adam Forddaa0f052017-08-07 13:11:34 -050076 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090077
Tom Rini8bb687f2017-05-16 14:46:40 -040078config TI816X
79 bool "TI816X SoC"
Tom Rini6f6b7cf2018-03-06 19:02:27 -050080 select SPECIFY_CONSOLE_INDEX
Adam Ford0a9ef452017-10-16 14:08:26 -050081 imply NAND_OMAP_ELM
82 imply NAND_OMAP_GPMC
Tom Rini8bb687f2017-05-16 14:46:40 -040083 help
84 Support for AM335x SOC from Texas Instruments.
85 The AM335x high performance SOC features a Cortex-A8
86 ARM core and more.
87
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090088config AM43XX
89 bool "AM43XX SoC"
Tom Rini6f6b7cf2018-03-06 19:02:27 -050090 select SPECIFY_CONSOLE_INDEX
Philip Oberfichtner11168882022-08-17 15:07:12 +020091 select SYS_L2_PL310 if !SYS_L2CACHE_OFF
Adam Ford0a9ef452017-10-16 14:08:26 -050092 imply NAND_OMAP_ELM
93 imply NAND_OMAP_GPMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090094 imply SPL_DM
95 imply SPL_DM_SEQ_ALIAS
Adam Ford0a9ef452017-10-16 14:08:26 -050096 imply SPL_NAND_AM33XX_BCH
97 imply SPL_NAND_SUPPORT
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090098 imply SPL_OF_CONTROL
99 imply SPL_OF_TRANSLATE
100 imply SPL_SEPARATE_BSS
101 imply SPL_SYS_MALLOC_SIMPLE
Adam Forddaa0f052017-08-07 13:11:34 -0500102 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900103 imply SYS_THUMB_BUILD
104 help
105 Support for AM43xx SOC from Texas Instruments.
106 The AM43xx high performance SOC features a Cortex-A9
107 ARM core, a quad core PRU-ICSS for industrial Ethernet
108 protocols, dual camera support, optional 3D graphics
109 and an optional customer programmable secure boot.
110
111config AM33XX
112 bool "AM33XX SoC"
Nishanth Menon94c6a892018-06-12 15:24:11 -0500113 select ARM_CORTEX_A8_CVE_2017_5715
Michal Simek58008cb2018-07-23 15:55:15 +0200114 select SPECIFY_CONSOLE_INDEX
Adam Ford0a9ef452017-10-16 14:08:26 -0500115 imply NAND_OMAP_ELM
116 imply NAND_OMAP_GPMC
Tom Rinia2ac2b92021-08-27 21:18:30 -0400117 imply SKIP_LOWLEVEL_INIT
Adam Ford0a9ef452017-10-16 14:08:26 -0500118 imply SPL_NAND_AM33XX_BCH
119 imply SPL_NAND_SUPPORT
Adam Forddaa0f052017-08-07 13:11:34 -0500120 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900121 imply SYS_THUMB_BUILD
Simon Glass27084c02019-09-25 08:56:27 -0600122 imply SPL_USE_TINY_PRINTF
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900123 help
124 Support for AM335x SOC from Texas Instruments.
125 The AM335x high performance SOC features a Cortex-A8
126 ARM core, a dual core PRU-ICSS for industrial Ethernet
127 protocols, optional 3D graphics and an optional customer
128 programmable secure boot.
129
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900130endchoice
131
Lokesh Vutlac187dd62017-05-05 12:59:07 +0530132config SYS_MPUCLK
133 int "MPU CLK speed"
Adam Ford876ddb52018-10-07 09:58:25 -0500134 depends on AM33XX
Lokesh Vutla59041a52017-05-05 12:59:08 +0530135 default 500
Lokesh Vutlac187dd62017-05-05 12:59:07 +0530136 help
137 Defines the MPU clock speed (in MHz).
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900138
Tom Rini789bb952022-11-16 13:10:32 -0500139config SYS_OMAP_ABE_SYSCK
140 bool
141
Andrew F. Davis3348e0c2017-07-10 14:45:49 -0500142config TI_SECURE_EMIF_REGION_START
143 hex "Reserved EMIF region start address"
144 depends on TI_SECURE_DEVICE
145 default 0x0
146 help
147 Reserved EMIF region start address. Set to "0" to auto-select
148 to be at the end of the external memory region.
149
150config TI_SECURE_EMIF_TOTAL_REGION_SIZE
151 hex "Reserved EMIF region size"
152 depends on TI_SECURE_DEVICE
153 default 0x0
154 help
155 Total reserved EMIF region size. Default is 0, which means no reserved EMIF
156 region on secure devices.
157
158config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
159 hex "Size of protected region within reserved EMIF region"
160 depends on TI_SECURE_DEVICE
161 default 0x0
162 help
163 This config option is used to specify the size of the portion of the total
164 reserved EMIF region set aside for secure OS needs that will be protected
165 using hardware memory firewalls. This value must be smaller than the
166 TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
167
Tom Rini2bb9d7c2022-06-25 11:02:37 -0400168config SYS_AUTOMATIC_SDRAM_DETECTION
169 bool
170
171choice
172 depends on OMAP44XX || OMAP54XX
173 prompt "Static or dynamic DDR timing calculations"
174 default SYS_EMIF_PRECALCULATED_TIMING_REGS
175 help
176 For the DDR timing information we can either dynamically determine
177 the timings to use or use pre-determined timings (based on using the
178 dynamic method). Default to the static timing information.
179
180config SYS_EMIF_PRECALCULATED_TIMING_REGS
181 bool "Use precalcualted timing values"
182
183config SYS_DEFAULT_LPDDR2_TIMINGS
184 bool "Use default LPDDR2 timing values"
185 select SYS_AUTOMATIC_SDRAM_DETECTION
186
187endchoice
188
Tom Rini983e3702016-11-07 21:34:54 -0500189source "arch/arm/mach-omap2/omap3/Kconfig"
Madan Srinivasa774e082016-05-19 19:10:44 -0500190
Tom Rini983e3702016-11-07 21:34:54 -0500191source "arch/arm/mach-omap2/omap4/Kconfig"
Madan Srinivasa774e082016-05-19 19:10:44 -0500192
Tom Rini983e3702016-11-07 21:34:54 -0500193source "arch/arm/mach-omap2/omap5/Kconfig"
Madan Srinivasa774e082016-05-19 19:10:44 -0500194
Tom Rini983e3702016-11-07 21:34:54 -0500195source "arch/arm/mach-omap2/am33xx/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900196
197source "board/BuR/brxre1/Kconfig"
Hannes Schmelzer60df8092019-08-01 07:04:46 +0200198source "board/BuR/brsmarc1/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900199source "board/BuR/brppt1/Kconfig"
200source "board/siemens/draco/Kconfig"
201source "board/siemens/pxm2/Kconfig"
202source "board/siemens/rut/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900203source "board/ti/ti816x/Kconfig"
204source "board/ti/am43xx/Kconfig"
205source "board/ti/am335x/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900206source "board/compulab/cm_t43/Kconfig"
Niel Fourie6e171b62019-06-03 15:31:17 +0200207source "board/phytec/phycore_am335x_r2/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900208
209endif