xref: /openbmc/u-boot/arch/arm/mach-omap2/omap5/Kconfig (revision 762161b0)
1if OMAP54XX
2
3config SPL_EXT_SUPPORT
4	default y
5
6config SPL_FAT_SUPPORT
7	default y
8
9config SPL_GPIO_SUPPORT
10	default y
11
12config SPL_I2C_SUPPORT
13	default y
14
15config SPL_LIBCOMMON_SUPPORT
16	default y
17
18config SPL_LIBDISK_SUPPORT
19	default y
20
21config SPL_LIBGENERIC_SUPPORT
22	default y
23
24config SPL_MMC_SUPPORT
25	default y
26
27config SPL_NAND_SUPPORT
28	default y
29
30config SPL_POWER_SUPPORT
31	default y
32
33config SPL_SERIAL_SUPPORT
34	default y
35
36config SPL_DISPLAY_PRINT
37	default y
38
39choice
40	prompt "OMAP5 board select"
41	optional
42
43config TARGET_CL_SOM_AM57X
44	bool "CompuLab CL-SOM-AM57x"
45
46config TARGET_CM_T54
47	bool "CompuLab CM-T54"
48
49config TARGET_OMAP5_UEVM
50	bool "TI OMAP5 uEVM board"
51
52config TARGET_DRA7XX_EVM
53	bool "TI DRA7XX"
54	select TI_I2C_BOARD_DETECT
55	select PHYS_64BIT
56
57config TARGET_AM57XX_EVM
58	bool "AM57XX"
59	select TI_I2C_BOARD_DETECT
60
61endchoice
62
63config SYS_SOC
64	default "omap5"
65
66config TI_SECURE_EMIF_REGION_START
67	hex "Reserved EMIF region start address"
68	depends on TI_SECURE_DEVICE
69	default 0x0
70	help
71	  Reserved EMIF region start address. Set to "0" to auto-select
72	  to be at the end of the external memory region.
73
74config TI_SECURE_EMIF_TOTAL_REGION_SIZE
75	hex "Reserved EMIF region size"
76	depends on TI_SECURE_DEVICE
77	default 0x0
78	help
79	  Total reserved EMIF region size. Default is 0, which means no reserved EMIF
80	  region on secure devices.
81
82config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
83	hex "Size of protected region within reserved EMIF region"
84	depends on TI_SECURE_DEVICE
85	default 0x0
86	help
87	  This config option is used to specify the size of the portion of the total
88	  reserved EMIF region set aside for secure OS needs that will  be protected
89	  using hardware memory firewalls. This value must be smaller than the
90	  TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
91
92if TARGET_DRA7XX_EVM || TARGET_AM57XX_EVM
93menu "Voltage Domain OPP selections"
94
95choice
96	prompt "MPU Voltage Domain"
97	default DRA7_MPU_OPP_NOM
98        help
99	  Select the Operating Performance Point(OPP) for the MPU voltage
100	  domain on DRA7xx & AM57xx SoCs.
101
102config DRA7_MPU_OPP_NOM
103	bool "OPP NOM"
104	help
105	  This config option enables Normal OPP for MPU. This is the safest
106	  option for booting.
107
108endchoice
109
110choice
111	prompt "DSPEVE Voltage Domain"
112        help
113	  Select the Operating Performance Point(OPP) for the DSPEVE voltage
114	  domain on DRA7xx & AM57xx SoCs.
115
116config DRA7_DSPEVE_OPP_NOM
117	bool "OPP NOM"
118	help
119	  This config option enables Normal OPP for DSPEVE. This is the safest
120	  option for booting and choose this when unsure about other OPPs .
121
122config DRA7_DSPEVE_OPP_OD
123	bool "OPP OD"
124	help
125	  This config option enables Over drive OPP for DSPEVE.
126
127config DRA7_DSPEVE_OPP_HIGH
128	bool "OPP HIGH"
129	help
130	  This config option enables High OPP for DSPEVE.
131
132endchoice
133
134choice
135	prompt "IVA Voltage Domain"
136        help
137	  Select the Operating Performance Point(OPP) for the IVA voltage
138	  domain on DRA7xx & AM57xx SoCs.
139
140config DRA7_IVA_OPP_NOM
141	bool "OPP NOM"
142	help
143	  This config option enables Normal OPP for IVA. This is the safest
144	  option for booting and choose this when unsure about other OPPs .
145
146config DRA7_IVA_OPP_OD
147	bool "OPP OD"
148	help
149	  This config option enables Over drive OPP for IVA.
150
151config DRA7_IVA_OPP_HIGH
152	bool "OPP HIGH"
153	help
154	  This config option enables High OPP for IVA.
155
156endchoice
157
158choice
159	prompt "GPU Voltage Domain"
160        help
161	  Select the Operating Performance Point(OPP) for the GPU voltage
162	  domain on DRA7xx & AM57xx SoCs.
163
164config DRA7_GPU_OPP_NOM
165	bool "OPP NOM"
166	help
167	  This config option enables Normal OPP for GPU. This is the safest
168	  option for booting and choose this when unsure about other OPPs .
169
170config DRA7_GPU_OPP_OD
171	bool "OPP OD"
172	help
173	  This config option enables Over drive OPP for GPU.
174
175config DRA7_GPU_OPP_HIGH
176	bool "OPP HIGH"
177	help
178	  This config option enables High OPP for GPU.
179
180endchoice
181
182endmenu
183endif
184
185source "board/compulab/cl-som-am57x/Kconfig"
186source "board/compulab/cm_t54/Kconfig"
187source "board/ti/omap5_uevm/Kconfig"
188source "board/ti/dra7xx/Kconfig"
189source "board/ti/am57xx/Kconfig"
190
191endif
192