xref: /openbmc/u-boot/arch/arm/mach-omap2/omap5/Kconfig (revision cbcbf71b)
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 BOARD_LATE_INIT
55	select TI_I2C_BOARD_DETECT
56	select PHYS_64BIT
57
58config TARGET_AM57XX_EVM
59	bool "AM57XX"
60	select BOARD_LATE_INIT
61	select TI_I2C_BOARD_DETECT
62
63endchoice
64
65config SYS_SOC
66	default "omap5"
67
68config TI_SECURE_EMIF_REGION_START
69	hex "Reserved EMIF region start address"
70	depends on TI_SECURE_DEVICE
71	default 0x0
72	help
73	  Reserved EMIF region start address. Set to "0" to auto-select
74	  to be at the end of the external memory region.
75
76config TI_SECURE_EMIF_TOTAL_REGION_SIZE
77	hex "Reserved EMIF region size"
78	depends on TI_SECURE_DEVICE
79	default 0x0
80	help
81	  Total reserved EMIF region size. Default is 0, which means no reserved EMIF
82	  region on secure devices.
83
84config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
85	hex "Size of protected region within reserved EMIF region"
86	depends on TI_SECURE_DEVICE
87	default 0x0
88	help
89	  This config option is used to specify the size of the portion of the total
90	  reserved EMIF region set aside for secure OS needs that will  be protected
91	  using hardware memory firewalls. This value must be smaller than the
92	  TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
93
94if TARGET_DRA7XX_EVM || TARGET_AM57XX_EVM
95menu "Voltage Domain OPP selections"
96
97choice
98	prompt "MPU Voltage Domain"
99	default DRA7_MPU_OPP_NOM
100        help
101	  Select the Operating Performance Point(OPP) for the MPU voltage
102	  domain on DRA7xx & AM57xx SoCs.
103
104config DRA7_MPU_OPP_NOM
105	bool "OPP NOM"
106	help
107	  This config option enables Normal OPP for MPU. This is the safest
108	  option for booting.
109
110endchoice
111
112choice
113	prompt "DSPEVE Voltage Domain"
114        help
115	  Select the Operating Performance Point(OPP) for the DSPEVE voltage
116	  domain on DRA7xx & AM57xx SoCs.
117
118config DRA7_DSPEVE_OPP_NOM
119	bool "OPP NOM"
120	help
121	  This config option enables Normal OPP for DSPEVE. This is the safest
122	  option for booting and choose this when unsure about other OPPs .
123
124config DRA7_DSPEVE_OPP_OD
125	bool "OPP OD"
126	help
127	  This config option enables Over drive OPP for DSPEVE.
128
129config DRA7_DSPEVE_OPP_HIGH
130	bool "OPP HIGH"
131	help
132	  This config option enables High OPP for DSPEVE.
133
134endchoice
135
136choice
137	prompt "IVA Voltage Domain"
138        help
139	  Select the Operating Performance Point(OPP) for the IVA voltage
140	  domain on DRA7xx & AM57xx SoCs.
141
142config DRA7_IVA_OPP_NOM
143	bool "OPP NOM"
144	help
145	  This config option enables Normal OPP for IVA. This is the safest
146	  option for booting and choose this when unsure about other OPPs .
147
148config DRA7_IVA_OPP_OD
149	bool "OPP OD"
150	help
151	  This config option enables Over drive OPP for IVA.
152
153config DRA7_IVA_OPP_HIGH
154	bool "OPP HIGH"
155	help
156	  This config option enables High OPP for IVA.
157
158endchoice
159
160choice
161	prompt "GPU Voltage Domain"
162        help
163	  Select the Operating Performance Point(OPP) for the GPU voltage
164	  domain on DRA7xx & AM57xx SoCs.
165
166config DRA7_GPU_OPP_NOM
167	bool "OPP NOM"
168	help
169	  This config option enables Normal OPP for GPU. This is the safest
170	  option for booting and choose this when unsure about other OPPs .
171
172config DRA7_GPU_OPP_OD
173	bool "OPP OD"
174	help
175	  This config option enables Over drive OPP for GPU.
176
177config DRA7_GPU_OPP_HIGH
178	bool "OPP HIGH"
179	help
180	  This config option enables High OPP for GPU.
181
182endchoice
183
184endmenu
185endif
186
187source "board/compulab/cl-som-am57x/Kconfig"
188source "board/compulab/cm_t54/Kconfig"
189source "board/ti/omap5_uevm/Kconfig"
190source "board/ti/dra7xx/Kconfig"
191source "board/ti/am57xx/Kconfig"
192
193endif
194