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