xref: /openbmc/u-boot/arch/arm/mach-omap2/Kconfig (revision 4e97e257)
1if ARCH_OMAP2PLUS
2
3choice
4	prompt "OMAP2+ platform select"
5	default OMAP34XX
6
7config OMAP34XX
8	bool "OMAP34XX SoC"
9	select ARM_ERRATA_430973
10	select ARM_ERRATA_454179
11	select ARM_ERRATA_621766
12	select ARM_ERRATA_725233
13	select USE_TINY_PRINTF
14	imply NAND_OMAP_GPMC
15	imply SPL_EXT_SUPPORT
16	imply SPL_FAT_SUPPORT
17	imply SPL_GPIO_SUPPORT
18	imply SPL_I2C_SUPPORT
19	imply SPL_LIBCOMMON_SUPPORT
20	imply SPL_LIBDISK_SUPPORT
21	imply SPL_LIBGENERIC_SUPPORT
22	imply SPL_MMC_SUPPORT
23	imply SPL_NAND_SUPPORT
24	imply SPL_OMAP3_ID_NAND
25	imply SPL_POWER_SUPPORT
26	imply SPL_SERIAL_SUPPORT
27	imply SYS_I2C_OMAP24XX
28	imply SYS_THUMB_BUILD
29	imply TWL4030_POWER
30
31config OMAP44XX
32	bool "OMAP44XX SoC"
33	select USE_TINY_PRINTF
34	imply NAND_OMAP_ELM
35	imply NAND_OMAP_GPMC
36	imply SPL_DISPLAY_PRINT
37	imply SPL_EXT_SUPPORT
38	imply SPL_FAT_SUPPORT
39	imply SPL_GPIO_SUPPORT
40	imply SPL_I2C_SUPPORT
41	imply SPL_LIBCOMMON_SUPPORT
42	imply SPL_LIBDISK_SUPPORT
43	imply SPL_LIBGENERIC_SUPPORT
44	imply SPL_MMC_SUPPORT
45	imply SPL_NAND_SIMPLE
46	imply SPL_NAND_SUPPORT
47	imply SPL_POWER_SUPPORT
48	imply SPL_SERIAL_SUPPORT
49	imply SYS_I2C_OMAP24XX
50	imply SYS_THUMB_BUILD
51
52config OMAP54XX
53	bool "OMAP54XX SoC"
54	select ARM_ERRATA_798870
55	select SYS_THUMB_BUILD
56	imply NAND_OMAP_ELM
57	imply NAND_OMAP_GPMC
58	imply SPL_DISPLAY_PRINT
59	imply SPL_ENV_SUPPORT
60	imply SPL_EXT_SUPPORT
61	imply SPL_FAT_SUPPORT
62	imply SPL_GPIO_SUPPORT
63	imply SPL_I2C_SUPPORT
64	imply SPL_LIBCOMMON_SUPPORT
65	imply SPL_LIBDISK_SUPPORT
66	imply SPL_LIBGENERIC_SUPPORT
67	imply SPL_MMC_SUPPORT
68	imply SPL_NAND_AM33XX_BCH
69	imply SPL_NAND_AM33XX_BCH
70	imply SPL_NAND_SUPPORT
71	imply SPL_POWER_SUPPORT
72	imply SPL_SERIAL_SUPPORT
73	imply SYS_I2C_OMAP24XX
74
75config TI814X
76	bool "TI814X SoC"
77	help
78	  Support for AM335x SOC from Texas Instruments.
79	  The AM335x high performance SOC features a Cortex-A8
80	  ARM core and more.
81
82config TI816X
83	bool "TI816X SoC"
84	imply NAND_OMAP_ELM
85	imply NAND_OMAP_GPMC
86	help
87	  Support for AM335x SOC from Texas Instruments.
88	  The AM335x high performance SOC features a Cortex-A8
89	  ARM core and more.
90
91config AM43XX
92	bool "AM43XX SoC"
93	imply NAND_OMAP_ELM
94	imply NAND_OMAP_GPMC
95	imply SPL_DM
96	imply SPL_DM_SEQ_ALIAS
97	imply SPL_NAND_AM33XX_BCH
98	imply SPL_NAND_SUPPORT
99	imply SPL_OF_CONTROL
100	imply SPL_OF_TRANSLATE
101	imply SPL_SEPARATE_BSS
102	imply SPL_SYS_MALLOC_SIMPLE
103	imply SYS_I2C_OMAP24XX
104	imply SYS_THUMB_BUILD
105	help
106	  Support for AM43xx SOC from Texas Instruments.
107	  The AM43xx high performance SOC features a Cortex-A9
108	  ARM core, a quad core PRU-ICSS for industrial Ethernet
109	  protocols, dual camera support, optional 3D graphics
110	  and an optional customer programmable secure boot.
111
112config AM33XX
113	bool "AM33XX SoC"
114	imply NAND_OMAP_ELM
115	imply NAND_OMAP_GPMC
116	imply SPL_NAND_AM33XX_BCH
117	imply SPL_NAND_SUPPORT
118	imply SYS_I2C_OMAP24XX
119	imply SYS_THUMB_BUILD
120	imply USE_TINY_PRINTF
121	help
122	  Support for AM335x SOC from Texas Instruments.
123	  The AM335x high performance SOC features a Cortex-A8
124	  ARM core, a dual core PRU-ICSS for industrial Ethernet
125	  protocols, optional 3D graphics and an optional customer
126	  programmable secure boot.
127
128endchoice
129
130config SYS_MPUCLK
131	int "MPU CLK speed"
132	default 500
133	help
134	  Defines the MPU clock speed (in MHz).
135
136config TI_SECURE_DEVICE
137	bool "HS Device Type Support"
138	depends on OMAP54XX || AM43XX || AM33XX || ARCH_KEYSTONE
139	help
140	  If a high secure (HS) device type is being used, this config
141	  must be set. This option impacts various aspects of the
142	  build system (to create signed boot images that can be
143	  authenticated) and the code. See the doc/README.ti-secure
144	  file for further details.
145
146config TI_SECURE_EMIF_REGION_START
147	hex "Reserved EMIF region start address"
148	depends on TI_SECURE_DEVICE
149	default 0x0
150	help
151	  Reserved EMIF region start address. Set to "0" to auto-select
152	  to be at the end of the external memory region.
153
154config TI_SECURE_EMIF_TOTAL_REGION_SIZE
155	hex "Reserved EMIF region size"
156	depends on TI_SECURE_DEVICE
157	default 0x0
158	help
159	  Total reserved EMIF region size. Default is 0, which means no reserved EMIF
160	  region on secure devices.
161
162config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
163	hex "Size of protected region within reserved EMIF region"
164	depends on TI_SECURE_DEVICE
165	default 0x0
166	help
167	  This config option is used to specify the size of the portion of the total
168	  reserved EMIF region set aside for secure OS needs that will  be protected
169	  using hardware memory firewalls. This value must be smaller than the
170	  TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
171
172source "arch/arm/mach-omap2/omap3/Kconfig"
173
174source "arch/arm/mach-omap2/omap4/Kconfig"
175
176source "arch/arm/mach-omap2/omap5/Kconfig"
177
178source "arch/arm/mach-omap2/am33xx/Kconfig"
179
180source "board/BuR/brxre1/Kconfig"
181source "board/BuR/brppt1/Kconfig"
182source "board/siemens/draco/Kconfig"
183source "board/siemens/pxm2/Kconfig"
184source "board/siemens/rut/Kconfig"
185source "board/ti/ti814x/Kconfig"
186source "board/ti/ti816x/Kconfig"
187source "board/ti/am43xx/Kconfig"
188source "board/ti/am335x/Kconfig"
189source "board/compulab/cm_t335/Kconfig"
190source "board/compulab/cm_t43/Kconfig"
191
192config SPL_LDSCRIPT
193        default "arch/arm/mach-omap2/u-boot-spl.lds"
194
195endif
196