xref: /openbmc/u-boot/arch/arm/mach-omap2/Kconfig (revision e5fd39c8)
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 USE_TINY_PRINTF
15	imply NAND_OMAP_GPMC
16	imply SPL_FS_EXT4
17	imply SPL_FS_FAT
18	imply SPL_GPIO_SUPPORT
19	imply SPL_I2C_SUPPORT
20	imply SPL_LIBCOMMON_SUPPORT
21	imply SPL_LIBDISK_SUPPORT
22	imply SPL_LIBGENERIC_SUPPORT
23	imply SPL_MMC_SUPPORT
24	imply SPL_NAND_SUPPORT
25	imply SPL_OMAP3_ID_NAND
26	imply SPL_POWER_SUPPORT
27	imply SPL_SERIAL_SUPPORT
28	imply SYS_I2C_OMAP24XX
29	imply SYS_THUMB_BUILD
30	imply TWL4030_POWER
31
32config OMAP44XX
33	bool "OMAP44XX SoC"
34	select USE_TINY_PRINTF
35	imply NAND_OMAP_ELM
36	imply NAND_OMAP_GPMC
37	imply SPL_DISPLAY_PRINT
38	imply SPL_FS_EXT4
39	imply SPL_FS_FAT
40	imply SPL_GPIO_SUPPORT
41	imply SPL_I2C_SUPPORT
42	imply SPL_LIBCOMMON_SUPPORT
43	imply SPL_LIBDISK_SUPPORT
44	imply SPL_LIBGENERIC_SUPPORT
45	imply SPL_MMC_SUPPORT
46	imply SPL_NAND_SIMPLE
47	imply SPL_NAND_SUPPORT
48	imply SPL_POWER_SUPPORT
49	imply SPL_SERIAL_SUPPORT
50	imply SYS_I2C_OMAP24XX
51	imply SYS_THUMB_BUILD
52
53config OMAP54XX
54	bool "OMAP54XX SoC"
55	select ARM_CORTEX_A15_CVE_2017_5715
56	select ARM_ERRATA_798870
57	select SYS_THUMB_BUILD
58	imply NAND_OMAP_ELM
59	imply NAND_OMAP_GPMC
60	imply SPL_DISPLAY_PRINT
61	imply SPL_ENV_SUPPORT
62	imply SPL_FS_EXT4
63	imply SPL_FS_FAT
64	imply SPL_GPIO_SUPPORT
65	imply SPL_I2C_SUPPORT
66	imply SPL_LIBCOMMON_SUPPORT
67	imply SPL_LIBDISK_SUPPORT
68	imply SPL_LIBGENERIC_SUPPORT
69	imply SPL_MMC_SUPPORT
70	imply SPL_NAND_AM33XX_BCH
71	imply SPL_NAND_AM33XX_BCH
72	imply SPL_NAND_SUPPORT
73	imply SPL_POWER_SUPPORT
74	imply SPL_SERIAL_SUPPORT
75	imply SYS_I2C_OMAP24XX
76
77config TI814X
78	bool "TI814X SoC"
79	select SPECIFY_CONSOLE_INDEX
80	help
81	  Support for AM335x SOC from Texas Instruments.
82	  The AM335x high performance SOC features a Cortex-A8
83	  ARM core and more.
84
85config TI816X
86	bool "TI816X SoC"
87	select SPECIFY_CONSOLE_INDEX
88	imply NAND_OMAP_ELM
89	imply NAND_OMAP_GPMC
90	help
91	  Support for AM335x SOC from Texas Instruments.
92	  The AM335x high performance SOC features a Cortex-A8
93	  ARM core and more.
94
95config AM43XX
96	bool "AM43XX SoC"
97	select SPECIFY_CONSOLE_INDEX
98	imply NAND_OMAP_ELM
99	imply NAND_OMAP_GPMC
100	imply SPL_DM
101	imply SPL_DM_SEQ_ALIAS
102	imply SPL_NAND_AM33XX_BCH
103	imply SPL_NAND_SUPPORT
104	imply SPL_OF_CONTROL
105	imply SPL_OF_TRANSLATE
106	imply SPL_SEPARATE_BSS
107	imply SPL_SYS_MALLOC_SIMPLE
108	imply SYS_I2C_OMAP24XX
109	imply SYS_THUMB_BUILD
110	help
111	  Support for AM43xx SOC from Texas Instruments.
112	  The AM43xx high performance SOC features a Cortex-A9
113	  ARM core, a quad core PRU-ICSS for industrial Ethernet
114	  protocols, dual camera support, optional 3D graphics
115	  and an optional customer programmable secure boot.
116
117config AM33XX
118	bool "AM33XX SoC"
119	select ARM_CORTEX_A8_CVE_2017_5715
120	select SPECIFY_CONSOLE_INDEX
121	imply NAND_OMAP_ELM
122	imply NAND_OMAP_GPMC
123	imply SPL_NAND_AM33XX_BCH
124	imply SPL_NAND_SUPPORT
125	imply SYS_I2C_OMAP24XX
126	imply SYS_THUMB_BUILD
127	imply USE_TINY_PRINTF
128	help
129	  Support for AM335x SOC from Texas Instruments.
130	  The AM335x high performance SOC features a Cortex-A8
131	  ARM core, a dual core PRU-ICSS for industrial Ethernet
132	  protocols, optional 3D graphics and an optional customer
133	  programmable secure boot.
134
135endchoice
136
137config SYS_MPUCLK
138	int "MPU CLK speed"
139	depends on AM33XX
140	default 500
141	help
142	  Defines the MPU clock speed (in MHz).
143
144config TI_SECURE_EMIF_REGION_START
145	hex "Reserved EMIF region start address"
146	depends on TI_SECURE_DEVICE
147	default 0x0
148	help
149	  Reserved EMIF region start address. Set to "0" to auto-select
150	  to be at the end of the external memory region.
151
152config TI_SECURE_EMIF_TOTAL_REGION_SIZE
153	hex "Reserved EMIF region size"
154	depends on TI_SECURE_DEVICE
155	default 0x0
156	help
157	  Total reserved EMIF region size. Default is 0, which means no reserved EMIF
158	  region on secure devices.
159
160config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
161	hex "Size of protected region within reserved EMIF region"
162	depends on TI_SECURE_DEVICE
163	default 0x0
164	help
165	  This config option is used to specify the size of the portion of the total
166	  reserved EMIF region set aside for secure OS needs that will  be protected
167	  using hardware memory firewalls. This value must be smaller than the
168	  TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
169
170if AM43XX || AM33XX || OMAP54XX
171config ISW_ENTRY_ADDR
172	hex "Address in memory or XIP address of bootloader entry point"
173	default 0x402F4000 if AM43XX
174	default 0x402F0400 if AM33XX
175	default 0x40301350 if OMAP54XX
176	help
177	  After any reset, the boot ROM searches the boot media for a valid
178	  boot image. For non-XIP devices, the ROM then copies the image into
179	  internal memory. For all boot modes, after the ROM processes the
180	  boot image it eventually computes the entry point address depending
181	  on the device type (secure/non-secure), boot media (xip/non-xip) and
182	  image headers.
183endif
184
185source "arch/arm/mach-omap2/omap3/Kconfig"
186
187source "arch/arm/mach-omap2/omap4/Kconfig"
188
189source "arch/arm/mach-omap2/omap5/Kconfig"
190
191source "arch/arm/mach-omap2/am33xx/Kconfig"
192
193source "board/BuR/brxre1/Kconfig"
194source "board/BuR/brppt1/Kconfig"
195source "board/siemens/draco/Kconfig"
196source "board/siemens/pxm2/Kconfig"
197source "board/siemens/rut/Kconfig"
198source "board/ti/ti814x/Kconfig"
199source "board/ti/ti816x/Kconfig"
200source "board/ti/am43xx/Kconfig"
201source "board/ti/am335x/Kconfig"
202source "board/compulab/cm_t335/Kconfig"
203source "board/compulab/cm_t43/Kconfig"
204
205config SPL_LDSCRIPT
206        default "arch/arm/mach-omap2/u-boot-spl.lds"
207
208endif
209