1if ARCH_OMAP2PLUS
2
3choice
4	prompt "OMAP2+ platform select"
5	default OMAP34XX
6
7config OMAP34XX
8	bool "OMAP34XX SoC"
9	select ARM_CORTEX_A8_CVE_2017_5715
10	select ARM_ERRATA_430973
11	select ARM_ERRATA_454179
12	select ARM_ERRATA_621766
13	select ARM_ERRATA_725233
14	select SPL_USE_TINY_PRINTF if SPL
15	imply NAND_OMAP_GPMC
16	imply SPL_FS_EXT4
17	imply SPL_FS_FAT
18	imply SPL_GPIO
19	imply SPL_I2C
20	imply SPL_LIBCOMMON_SUPPORT
21	imply SPL_LIBDISK_SUPPORT
22	imply SPL_LIBGENERIC_SUPPORT
23	imply SPL_MMC
24	imply SPL_NAND_SUPPORT
25	imply SPL_OMAP3_ID_NAND
26	imply SPL_POWER
27	imply SPL_SERIAL
28	imply SYS_I2C_OMAP24XX
29	imply SYS_THUMB_BUILD
30	imply TWL4030_POWER
31
32config OMAP44XX
33	bool "OMAP44XX SoC"
34	select DM_EVENT
35	select SPL_USE_TINY_PRINTF
36	select SPL_SYS_NO_VECTOR_TABLE if SPL
37	imply NAND_OMAP_ELM
38	imply NAND_OMAP_GPMC
39	imply SPL_DISPLAY_PRINT
40	imply SPL_FS_EXT4
41	imply SPL_FS_FAT
42	imply SPL_GPIO
43	imply SPL_I2C
44	imply SPL_LIBCOMMON_SUPPORT
45	imply SPL_LIBDISK_SUPPORT
46	imply SPL_LIBGENERIC_SUPPORT
47	imply SPL_MMC
48	imply SPL_NAND_SIMPLE
49	imply SPL_NAND_SUPPORT
50	imply SPL_POWER
51	imply SPL_SERIAL
52	imply SYS_I2C_OMAP24XX
53	imply SYS_THUMB_BUILD
54
55config OMAP54XX
56	bool "OMAP54XX SoC"
57	select ARM_CORTEX_A15_CVE_2017_5715
58	select ARM_ERRATA_798870
59	select DM_EVENT
60	select SYS_THUMB_BUILD
61	imply NAND_OMAP_ELM
62	imply NAND_OMAP_GPMC
63	imply SPL_DISPLAY_PRINT
64	imply SPL_ENV_SUPPORT
65	imply SPL_FS_EXT4
66	imply SPL_FS_FAT
67	imply SPL_GPIO
68	imply SPL_I2C
69	imply SPL_LIBCOMMON_SUPPORT
70	imply SPL_LIBDISK_SUPPORT
71	imply SPL_LIBGENERIC_SUPPORT
72	imply SPL_MMC
73	imply SPL_NAND_AM33XX_BCH
74	imply SPL_NAND_AM33XX_BCH
75	imply SPL_NAND_SUPPORT
76	imply SPL_POWER
77	imply SPL_SERIAL
78	imply SYS_I2C_OMAP24XX
79
80config TI816X
81	bool "TI816X SoC"
82	select SPECIFY_CONSOLE_INDEX
83	imply NAND_OMAP_ELM
84	imply NAND_OMAP_GPMC
85	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
90config AM43XX
91	bool "AM43XX SoC"
92	select SPECIFY_CONSOLE_INDEX
93	select SYS_L2_PL310 if !SYS_L2CACHE_OFF
94	imply NAND_OMAP_ELM
95	imply NAND_OMAP_GPMC
96	imply SPL_DM
97	imply SPL_DM_SEQ_ALIAS
98	imply SPL_NAND_AM33XX_BCH
99	imply SPL_NAND_SUPPORT
100	imply SPL_OF_CONTROL
101	imply SPL_OF_TRANSLATE
102	imply SPL_SEPARATE_BSS
103	imply SPL_SYS_MALLOC_SIMPLE
104	imply SYS_I2C_OMAP24XX
105	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"
115	select ARM_CORTEX_A8_CVE_2017_5715
116	select DM_EVENT
117	select SPECIFY_CONSOLE_INDEX
118	imply NAND_OMAP_ELM
119	imply NAND_OMAP_GPMC
120	imply SKIP_LOWLEVEL_INIT
121	imply SPL_NAND_AM33XX_BCH
122	imply SPL_NAND_SUPPORT
123	imply SYS_I2C_OMAP24XX
124	imply SYS_THUMB_BUILD
125	imply SPL_USE_TINY_PRINTF
126	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
133endchoice
134
135config SYS_MPUCLK
136	int "MPU CLK speed"
137	depends on AM33XX
138	default 500
139	help
140	  Defines the MPU clock speed (in MHz).
141
142config SYS_OMAP_ABE_SYSCK
143	bool
144
145config 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
171config 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
192source "arch/arm/mach-omap2/omap3/Kconfig"
193
194source "arch/arm/mach-omap2/omap4/Kconfig"
195
196source "arch/arm/mach-omap2/omap5/Kconfig"
197
198source "arch/arm/mach-omap2/am33xx/Kconfig"
199
200source "board/BuR/brxre1/Kconfig"
201source "board/BuR/brsmarc1/Kconfig"
202source "board/BuR/brppt1/Kconfig"
203source "board/siemens/draco/Kconfig"
204source "board/siemens/pxm2/Kconfig"
205source "board/siemens/rut/Kconfig"
206source "board/ti/ti816x/Kconfig"
207source "board/ti/am43xx/Kconfig"
208source "board/ti/am335x/Kconfig"
209source "board/compulab/cm_t43/Kconfig"
210source "board/phytec/phycore_am335x_r2/Kconfig"
211
212endif
213