Merge tag 'u-boot-stm32-20211012' of https://source.denx.de/u-boot/custodians/u-boot-stm
[platform/kernel/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_CORTEX_A8_CVE_2017_5715
10         select ARM_ERRATA_430973
11         select ARM_ERRATA_454179
12         select ARM_ERRATA_621766
13         select ARM_ERRATA_725233
14         select SPL_USE_TINY_PRINTF if SPL
15         imply NAND_OMAP_GPMC
16         imply SPL_FS_EXT4
17         imply SPL_FS_FAT
18         imply SPL_GPIO
19         imply SPL_I2C
20         imply SPL_LIBCOMMON_SUPPORT
21         imply SPL_LIBDISK_SUPPORT
22         imply SPL_LIBGENERIC_SUPPORT
23         imply SPL_MMC
24         imply SPL_NAND_SUPPORT
25         imply SPL_OMAP3_ID_NAND
26         imply SPL_POWER
27         imply SPL_SERIAL
28         imply SYS_I2C_OMAP24XX
29         imply SYS_THUMB_BUILD
30         imply TWL4030_POWER
31
32 config OMAP44XX
33         bool "OMAP44XX SoC"
34         select SPL_USE_TINY_PRINTF
35         imply NAND_OMAP_ELM
36         imply NAND_OMAP_GPMC
37         imply SPL_DISPLAY_PRINT
38         imply SPL_FS_EXT4
39         imply SPL_FS_FAT
40         imply SPL_GPIO
41         imply SPL_I2C
42         imply SPL_LIBCOMMON_SUPPORT
43         imply SPL_LIBDISK_SUPPORT
44         imply SPL_LIBGENERIC_SUPPORT
45         imply SPL_MMC
46         imply SPL_NAND_SIMPLE
47         imply SPL_NAND_SUPPORT
48         imply SPL_POWER
49         imply SPL_SERIAL
50         imply SYS_I2C_OMAP24XX
51         imply SYS_THUMB_BUILD
52
53 config OMAP54XX
54         bool "OMAP54XX SoC"
55         select ARM_CORTEX_A15_CVE_2017_5715
56         select ARM_ERRATA_798870
57         select SYS_THUMB_BUILD
58         imply NAND_OMAP_ELM
59         imply NAND_OMAP_GPMC
60         imply SPL_DISPLAY_PRINT
61         imply SPL_ENV_SUPPORT
62         imply SPL_FS_EXT4
63         imply SPL_FS_FAT
64         imply SPL_GPIO
65         imply SPL_I2C
66         imply SPL_LIBCOMMON_SUPPORT
67         imply SPL_LIBDISK_SUPPORT
68         imply SPL_LIBGENERIC_SUPPORT
69         imply SPL_MMC
70         imply SPL_NAND_AM33XX_BCH
71         imply SPL_NAND_AM33XX_BCH
72         imply SPL_NAND_SUPPORT
73         imply SPL_POWER
74         imply SPL_SERIAL
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 ARM_CORTEX_A8_CVE_2017_5715
120         select SPECIFY_CONSOLE_INDEX
121         imply NAND_OMAP_ELM
122         imply NAND_OMAP_GPMC
123         imply SKIP_LOWLEVEL_INIT
124         imply SPL_NAND_AM33XX_BCH
125         imply SPL_NAND_SUPPORT
126         imply SYS_I2C_OMAP24XX
127         imply SYS_THUMB_BUILD
128         imply SPL_USE_TINY_PRINTF
129         help
130           Support for AM335x SOC from Texas Instruments.
131           The AM335x high performance SOC features a Cortex-A8
132           ARM core, a dual core PRU-ICSS for industrial Ethernet
133           protocols, optional 3D graphics and an optional customer
134           programmable secure boot.
135
136 endchoice
137
138 config SYS_MPUCLK
139         int "MPU CLK speed"
140         depends on AM33XX
141         default 500
142         help
143           Defines the MPU clock speed (in MHz).
144
145 config TI_SECURE_EMIF_REGION_START
146         hex "Reserved EMIF region start address"
147         depends on TI_SECURE_DEVICE
148         default 0x0
149         help
150           Reserved EMIF region start address. Set to "0" to auto-select
151           to be at the end of the external memory region.
152
153 config TI_SECURE_EMIF_TOTAL_REGION_SIZE
154         hex "Reserved EMIF region size"
155         depends on TI_SECURE_DEVICE
156         default 0x0
157         help
158           Total reserved EMIF region size. Default is 0, which means no reserved EMIF
159           region on secure devices.
160
161 config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
162         hex "Size of protected region within reserved EMIF region"
163         depends on TI_SECURE_DEVICE
164         default 0x0
165         help
166           This config option is used to specify the size of the portion of the total
167           reserved EMIF region set aside for secure OS needs that will  be protected
168           using hardware memory firewalls. This value must be smaller than the
169           TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
170
171 source "arch/arm/mach-omap2/omap3/Kconfig"
172
173 source "arch/arm/mach-omap2/omap4/Kconfig"
174
175 source "arch/arm/mach-omap2/omap5/Kconfig"
176
177 source "arch/arm/mach-omap2/am33xx/Kconfig"
178
179 source "board/BuR/brxre1/Kconfig"
180 source "board/BuR/brsmarc1/Kconfig"
181 source "board/BuR/brppt1/Kconfig"
182 source "board/siemens/draco/Kconfig"
183 source "board/siemens/pxm2/Kconfig"
184 source "board/siemens/rut/Kconfig"
185 source "board/ti/ti816x/Kconfig"
186 source "board/ti/am43xx/Kconfig"
187 source "board/ti/am335x/Kconfig"
188 source "board/compulab/cm_t335/Kconfig"
189 source "board/compulab/cm_t43/Kconfig"
190 source "board/phytec/phycore_am335x_r2/Kconfig"
191
192 config SPL_LDSCRIPT
193         default "arch/arm/mach-omap2/u-boot-spl.lds"
194
195 endif