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