arm: omap5: Fix generation of reserved-memory DT node
[oweals/u-boot.git] / arch / arm / mach-omap2 / omap5 / Kconfig
1 if OMAP54XX
2
3 config SPL_EXT_SUPPORT
4         default y
5
6 config SPL_FAT_SUPPORT
7         default y
8
9 config SPL_GPIO_SUPPORT
10         default y
11
12 config SPL_I2C_SUPPORT
13         default y
14
15 config SPL_LIBCOMMON_SUPPORT
16         default y
17
18 config SPL_LIBDISK_SUPPORT
19         default y
20
21 config SPL_LIBGENERIC_SUPPORT
22         default y
23
24 config SPL_MMC_SUPPORT
25         default y
26
27 config SPL_NAND_SUPPORT
28         default y
29
30 config SPL_POWER_SUPPORT
31         default y
32
33 config SPL_SERIAL_SUPPORT
34         default y
35
36 config SPL_DISPLAY_PRINT
37         default y
38
39 choice
40         prompt "OMAP5 board select"
41         optional
42
43 config TARGET_CL_SOM_AM57X
44         bool "CompuLab CL-SOM-AM57x"
45
46 config TARGET_CM_T54
47         bool "CompuLab CM-T54"
48
49 config TARGET_OMAP5_UEVM
50         bool "TI OMAP5 uEVM board"
51
52 config TARGET_DRA7XX_EVM
53         bool "TI DRA7XX"
54         select BOARD_LATE_INIT
55         select TI_I2C_BOARD_DETECT
56         select PHYS_64BIT
57
58 config TARGET_AM57XX_EVM
59         bool "AM57XX"
60         select BOARD_LATE_INIT
61         select TI_I2C_BOARD_DETECT
62
63 endchoice
64
65 config SYS_SOC
66         default "omap5"
67
68 config 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
76 config 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
84 config 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
94 if TARGET_DRA7XX_EVM || TARGET_AM57XX_EVM
95 menu "Voltage Domain OPP selections"
96
97 choice
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
104 config 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
110 endchoice
111
112 choice
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
118 config 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
124 config DRA7_DSPEVE_OPP_OD
125         bool "OPP OD"
126         help
127           This config option enables Over drive OPP for DSPEVE.
128
129 config DRA7_DSPEVE_OPP_HIGH
130         bool "OPP HIGH"
131         help
132           This config option enables High OPP for DSPEVE.
133
134 endchoice
135
136 choice
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
142 config 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
148 config DRA7_IVA_OPP_OD
149         bool "OPP OD"
150         help
151           This config option enables Over drive OPP for IVA.
152
153 config DRA7_IVA_OPP_HIGH
154         bool "OPP HIGH"
155         help
156           This config option enables High OPP for IVA.
157
158 endchoice
159
160 choice
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
166 config 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
172 config DRA7_GPU_OPP_OD
173         bool "OPP OD"
174         help
175           This config option enables Over drive OPP for GPU.
176
177 config DRA7_GPU_OPP_HIGH
178         bool "OPP HIGH"
179         help
180           This config option enables High OPP for GPU.
181
182 endchoice
183
184 endmenu
185 endif
186
187 source "board/compulab/cl-som-am57x/Kconfig"
188 source "board/compulab/cm_t54/Kconfig"
189 source "board/ti/omap5_uevm/Kconfig"
190 source "board/ti/dra7xx/Kconfig"
191 source "board/ti/am57xx/Kconfig"
192
193 endif