Prepare v2023.10
[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 DM_EVENT
35         select SPL_USE_TINY_PRINTF
36         select SPL_SYS_NO_VECTOR_TABLE if SPL
37         imply NAND_OMAP_ELM
38         imply NAND_OMAP_GPMC
39         imply SPL_DISPLAY_PRINT
40         imply SPL_FS_EXT4
41         imply SPL_FS_FAT
42         imply SPL_GPIO
43         imply SPL_I2C
44         imply SPL_LIBCOMMON_SUPPORT
45         imply SPL_LIBDISK_SUPPORT
46         imply SPL_LIBGENERIC_SUPPORT
47         imply SPL_MMC
48         imply SPL_NAND_SIMPLE
49         imply SPL_NAND_SUPPORT
50         imply SPL_POWER
51         imply SPL_SERIAL
52         imply SYS_I2C_OMAP24XX
53         imply SYS_THUMB_BUILD
54
55 config OMAP54XX
56         bool "OMAP54XX SoC"
57         select ARM_CORTEX_A15_CVE_2017_5715
58         select ARM_ERRATA_798870
59         select DM_EVENT
60         select SYS_THUMB_BUILD
61         imply NAND_OMAP_ELM
62         imply NAND_OMAP_GPMC
63         imply SPL_DISPLAY_PRINT
64         imply SPL_ENV_SUPPORT
65         imply SPL_FS_EXT4
66         imply SPL_FS_FAT
67         imply SPL_GPIO
68         imply SPL_I2C
69         imply SPL_LIBCOMMON_SUPPORT
70         imply SPL_LIBDISK_SUPPORT
71         imply SPL_LIBGENERIC_SUPPORT
72         imply SPL_MMC
73         imply SPL_NAND_AM33XX_BCH
74         imply SPL_NAND_AM33XX_BCH
75         imply SPL_NAND_SUPPORT
76         imply SPL_POWER
77         imply SPL_SERIAL
78         imply SYS_I2C_OMAP24XX
79
80 config AM43XX
81         bool "AM43XX SoC"
82         select SPECIFY_CONSOLE_INDEX
83         select SYS_L2_PL310 if !SYS_L2CACHE_OFF
84         imply NAND_OMAP_ELM
85         imply NAND_OMAP_GPMC
86         imply SPL_DM
87         imply SPL_DM_SEQ_ALIAS
88         imply SPL_NAND_AM33XX_BCH
89         imply SPL_NAND_SUPPORT
90         imply SPL_OF_CONTROL
91         imply SPL_OF_TRANSLATE
92         imply SPL_SEPARATE_BSS
93         imply SPL_SYS_MALLOC_SIMPLE
94         imply SYS_I2C_OMAP24XX
95         imply SYS_THUMB_BUILD
96         help
97           Support for AM43xx SOC from Texas Instruments.
98           The AM43xx high performance SOC features a Cortex-A9
99           ARM core, a quad core PRU-ICSS for industrial Ethernet
100           protocols, dual camera support, optional 3D graphics
101           and an optional customer programmable secure boot.
102
103 config AM33XX
104         bool "AM33XX SoC"
105         select ARM_CORTEX_A8_CVE_2017_5715
106         select DM_EVENT
107         select SPECIFY_CONSOLE_INDEX
108         imply NAND_OMAP_ELM
109         imply NAND_OMAP_GPMC
110         imply SKIP_LOWLEVEL_INIT
111         imply SPL_NAND_AM33XX_BCH
112         imply SPL_NAND_SUPPORT
113         imply SYS_I2C_OMAP24XX
114         imply SYS_THUMB_BUILD
115         imply SPL_USE_TINY_PRINTF
116         help
117           Support for AM335x SOC from Texas Instruments.
118           The AM335x high performance SOC features a Cortex-A8
119           ARM core, a dual core PRU-ICSS for industrial Ethernet
120           protocols, optional 3D graphics and an optional customer
121           programmable secure boot.
122
123 endchoice
124
125 config SYS_MPUCLK
126         int "MPU CLK speed"
127         depends on AM33XX
128         default 500
129         help
130           Defines the MPU clock speed (in MHz).
131
132 config SYS_OMAP_ABE_SYSCK
133         bool
134
135 config TI_SECURE_EMIF_REGION_START
136         hex "Reserved EMIF region start address"
137         depends on TI_SECURE_DEVICE
138         default 0x0
139         help
140           Reserved EMIF region start address. Set to "0" to auto-select
141           to be at the end of the external memory region.
142
143 config TI_SECURE_EMIF_TOTAL_REGION_SIZE
144         hex "Reserved EMIF region size"
145         depends on TI_SECURE_DEVICE
146         default 0x0
147         help
148           Total reserved EMIF region size. Default is 0, which means no reserved EMIF
149           region on secure devices.
150
151 config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
152         hex "Size of protected region within reserved EMIF region"
153         depends on TI_SECURE_DEVICE
154         default 0x0
155         help
156           This config option is used to specify the size of the portion of the total
157           reserved EMIF region set aside for secure OS needs that will  be protected
158           using hardware memory firewalls. This value must be smaller than the
159           TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
160
161 config SYS_AUTOMATIC_SDRAM_DETECTION
162         bool
163
164 choice
165         depends on OMAP44XX || OMAP54XX
166         prompt "Static or dynamic DDR timing calculations"
167         default SYS_EMIF_PRECALCULATED_TIMING_REGS
168         help
169           For the DDR timing information we can either dynamically determine
170           the timings to use or use pre-determined timings (based on using the
171           dynamic method).  Default to the static timing information.
172
173 config SYS_EMIF_PRECALCULATED_TIMING_REGS
174         bool "Use precalcualted timing values"
175
176 config SYS_DEFAULT_LPDDR2_TIMINGS
177         bool "Use default LPDDR2 timing values"
178         select SYS_AUTOMATIC_SDRAM_DETECTION
179
180 endchoice
181
182 source "arch/arm/mach-omap2/omap3/Kconfig"
183
184 source "arch/arm/mach-omap2/omap4/Kconfig"
185
186 source "arch/arm/mach-omap2/omap5/Kconfig"
187
188 source "arch/arm/mach-omap2/am33xx/Kconfig"
189
190 source "board/BuR/brxre1/Kconfig"
191 source "board/BuR/brsmarc1/Kconfig"
192 source "board/BuR/brppt1/Kconfig"
193 source "board/siemens/draco/Kconfig"
194 source "board/siemens/pxm2/Kconfig"
195 source "board/siemens/rut/Kconfig"
196 source "board/ti/am43xx/Kconfig"
197 source "board/ti/am335x/Kconfig"
198 source "board/compulab/cm_t43/Kconfig"
199 source "board/phytec/phycore_am335x_r2/Kconfig"
200
201 endif