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 OMAP54XX
33	bool "OMAP54XX SoC"
34	select ARM_CORTEX_A15_CVE_2017_5715
35	select ARM_ERRATA_798870
36	select DM_EVENT
37	select SYS_THUMB_BUILD
38	imply NAND_OMAP_ELM
39	imply NAND_OMAP_GPMC
40	imply SPL_DISPLAY_PRINT
41	imply SPL_ENV_SUPPORT
42	imply SPL_FS_EXT4
43	imply SPL_FS_FAT
44	imply SPL_GPIO
45	imply SPL_I2C
46	imply SPL_LIBCOMMON_SUPPORT
47	imply SPL_LIBDISK_SUPPORT
48	imply SPL_LIBGENERIC_SUPPORT
49	imply SPL_MMC
50	imply SPL_NAND_AM33XX_BCH
51	imply SPL_NAND_AM33XX_BCH
52	imply SPL_NAND_SUPPORT
53	imply SPL_POWER
54	imply SPL_SERIAL
55	imply SYS_I2C_OMAP24XX
56
57config AM43XX
58	bool "AM43XX SoC"
59	select SPECIFY_CONSOLE_INDEX
60	select SYS_L2_PL310 if !SYS_L2CACHE_OFF
61	imply NAND_OMAP_ELM
62	imply NAND_OMAP_GPMC
63	imply SPL_DM
64	imply SPL_DM_SEQ_ALIAS
65	imply SPL_NAND_AM33XX_BCH
66	imply SPL_NAND_SUPPORT
67	imply SPL_OF_CONTROL
68	imply SPL_OF_TRANSLATE
69	imply SPL_SEPARATE_BSS
70	imply SPL_SYS_MALLOC_SIMPLE
71	imply SYS_I2C_OMAP24XX
72	imply SYS_THUMB_BUILD
73	help
74	  Support for AM43xx SOC from Texas Instruments.
75	  The AM43xx high performance SOC features a Cortex-A9
76	  ARM core, a quad core PRU-ICSS for industrial Ethernet
77	  protocols, dual camera support, optional 3D graphics
78	  and an optional customer programmable secure boot.
79
80config AM33XX
81	bool "AM33XX SoC"
82	select ARM_CORTEX_A8_CVE_2017_5715
83	select DM_EVENT
84	select SPECIFY_CONSOLE_INDEX
85	imply NAND_OMAP_ELM
86	imply NAND_OMAP_GPMC
87	imply SKIP_LOWLEVEL_INIT
88	imply SPL_NAND_AM33XX_BCH
89	imply SPL_NAND_SUPPORT
90	imply SYS_I2C_OMAP24XX
91	imply SYS_THUMB_BUILD
92	imply SPL_USE_TINY_PRINTF
93	help
94	  Support for AM335x SOC from Texas Instruments.
95	  The AM335x high performance SOC features a Cortex-A8
96	  ARM core, a dual core PRU-ICSS for industrial Ethernet
97	  protocols, optional 3D graphics and an optional customer
98	  programmable secure boot.
99
100endchoice
101
102config SYS_MPUCLK
103	int "MPU CLK speed"
104	depends on AM33XX
105	default 500
106	help
107	  Defines the MPU clock speed (in MHz).
108
109config SYS_OMAP_ABE_SYSCK
110	bool
111
112config TI_SECURE_EMIF_REGION_START
113	hex "Reserved EMIF region start address"
114	depends on TI_SECURE_DEVICE
115	default 0x0
116	help
117	  Reserved EMIF region start address. Set to "0" to auto-select
118	  to be at the end of the external memory region.
119
120config TI_SECURE_EMIF_TOTAL_REGION_SIZE
121	hex "Reserved EMIF region size"
122	depends on TI_SECURE_DEVICE
123	default 0x0
124	help
125	  Total reserved EMIF region size. Default is 0, which means no reserved EMIF
126	  region on secure devices.
127
128config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
129	hex "Size of protected region within reserved EMIF region"
130	depends on TI_SECURE_DEVICE
131	default 0x0
132	help
133	  This config option is used to specify the size of the portion of the total
134	  reserved EMIF region set aside for secure OS needs that will  be protected
135	  using hardware memory firewalls. This value must be smaller than the
136	  TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
137
138config SYS_AUTOMATIC_SDRAM_DETECTION
139	bool
140
141choice
142	depends on OMAP54XX
143	prompt "Static or dynamic DDR timing calculations"
144	default SYS_EMIF_PRECALCULATED_TIMING_REGS
145	help
146	  For the DDR timing information we can either dynamically determine
147	  the timings to use or use pre-determined timings (based on using the
148	  dynamic method).  Default to the static timing information.
149
150config SYS_EMIF_PRECALCULATED_TIMING_REGS
151	bool "Use precalcualted timing values"
152
153config SYS_DEFAULT_LPDDR2_TIMINGS
154	bool "Use default LPDDR2 timing values"
155	select SYS_AUTOMATIC_SDRAM_DETECTION
156
157endchoice
158
159source "arch/arm/mach-omap2/omap3/Kconfig"
160
161source "arch/arm/mach-omap2/omap5/Kconfig"
162
163source "arch/arm/mach-omap2/am33xx/Kconfig"
164
165source "board/BuR/brxre1/Kconfig"
166source "board/BuR/brsmarc1/Kconfig"
167source "board/BuR/brppt1/Kconfig"
168source "board/siemens/draco/Kconfig"
169source "board/siemens/pxm2/Kconfig"
170source "board/siemens/rut/Kconfig"
171source "board/ti/am43xx/Kconfig"
172source "board/ti/am335x/Kconfig"
173source "board/compulab/cm_t43/Kconfig"
174source "board/phytec/phycore_am335x_r2/Kconfig"
175
176endif
177