blob: 1cac4437d72c9d6c3d13ae988622495ebfa2ccc3 [file] [log] [blame]
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +09001if ARCH_OMAP2PLUS
2
3choice
4 prompt "OMAP2+ platform select"
Tom Rinif2d78c12017-06-09 16:59:17 -04005 default OMAP34XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +09006
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +09007config OMAP34XX
8 bool "OMAP34XX SoC"
Michal Simek58008cb2018-07-23 15:55:15 +02009 select ARM_CORTEX_A8_CVE_2017_5715
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090010 select ARM_ERRATA_430973
11 select ARM_ERRATA_454179
12 select ARM_ERRATA_621766
13 select ARM_ERRATA_725233
14 select USE_TINY_PRINTF
Adam Ford0a9ef452017-10-16 14:08:26 -050015 imply NAND_OMAP_GPMC
Tien Fong Cheef4b40922019-01-23 14:20:05 +080016 imply SPL_FS_EXT4
Tien Fong Chee0c3a9ed2019-01-23 14:20:03 +080017 imply SPL_FS_FAT
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090018 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
Adam Fordedd16532017-08-11 08:51:20 -050025 imply SPL_OMAP3_ID_NAND
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090026 imply SPL_POWER_SUPPORT
27 imply SPL_SERIAL_SUPPORT
Adam Forddaa0f052017-08-07 13:11:34 -050028 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090029 imply SYS_THUMB_BUILD
Adam Ford7815c702017-04-26 13:41:31 -050030 imply TWL4030_POWER
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090031
32config OMAP44XX
33 bool "OMAP44XX SoC"
34 select USE_TINY_PRINTF
Adam Ford0a9ef452017-10-16 14:08:26 -050035 imply NAND_OMAP_ELM
36 imply NAND_OMAP_GPMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090037 imply SPL_DISPLAY_PRINT
Tien Fong Cheef4b40922019-01-23 14:20:05 +080038 imply SPL_FS_EXT4
Tien Fong Chee0c3a9ed2019-01-23 14:20:03 +080039 imply SPL_FS_FAT
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090040 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
Adam Ford0a9ef452017-10-16 14:08:26 -050046 imply SPL_NAND_SIMPLE
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090047 imply SPL_NAND_SUPPORT
48 imply SPL_POWER_SUPPORT
49 imply SPL_SERIAL_SUPPORT
Adam Forddaa0f052017-08-07 13:11:34 -050050 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090051 imply SYS_THUMB_BUILD
52
53config OMAP54XX
54 bool "OMAP54XX SoC"
Michal Simek58008cb2018-07-23 15:55:15 +020055 select ARM_CORTEX_A15_CVE_2017_5715
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090056 select ARM_ERRATA_798870
57 select SYS_THUMB_BUILD
Adam Ford0a9ef452017-10-16 14:08:26 -050058 imply NAND_OMAP_ELM
59 imply NAND_OMAP_GPMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090060 imply SPL_DISPLAY_PRINT
61 imply SPL_ENV_SUPPORT
Tien Fong Cheef4b40922019-01-23 14:20:05 +080062 imply SPL_FS_EXT4
Tien Fong Chee0c3a9ed2019-01-23 14:20:03 +080063 imply SPL_FS_FAT
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090064 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
Adam Ford0a9ef452017-10-16 14:08:26 -050070 imply SPL_NAND_AM33XX_BCH
71 imply SPL_NAND_AM33XX_BCH
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090072 imply SPL_NAND_SUPPORT
73 imply SPL_POWER_SUPPORT
74 imply SPL_SERIAL_SUPPORT
Adam Forddaa0f052017-08-07 13:11:34 -050075 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090076
Tom Rini8bb687f2017-05-16 14:46:40 -040077config TI814X
78 bool "TI814X SoC"
Tom Rini6f6b7cf2018-03-06 19:02:27 -050079 select SPECIFY_CONSOLE_INDEX
Tom Rini8bb687f2017-05-16 14:46:40 -040080 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
85config TI816X
86 bool "TI816X SoC"
Tom Rini6f6b7cf2018-03-06 19:02:27 -050087 select SPECIFY_CONSOLE_INDEX
Adam Ford0a9ef452017-10-16 14:08:26 -050088 imply NAND_OMAP_ELM
89 imply NAND_OMAP_GPMC
Tom Rini8bb687f2017-05-16 14:46:40 -040090 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
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +090095config AM43XX
96 bool "AM43XX SoC"
Tom Rini6f6b7cf2018-03-06 19:02:27 -050097 select SPECIFY_CONSOLE_INDEX
Adam Ford0a9ef452017-10-16 14:08:26 -050098 imply NAND_OMAP_ELM
99 imply NAND_OMAP_GPMC
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900100 imply SPL_DM
101 imply SPL_DM_SEQ_ALIAS
Adam Ford0a9ef452017-10-16 14:08:26 -0500102 imply SPL_NAND_AM33XX_BCH
103 imply SPL_NAND_SUPPORT
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900104 imply SPL_OF_CONTROL
105 imply SPL_OF_TRANSLATE
106 imply SPL_SEPARATE_BSS
107 imply SPL_SYS_MALLOC_SIMPLE
Adam Forddaa0f052017-08-07 13:11:34 -0500108 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900109 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
117config AM33XX
118 bool "AM33XX SoC"
Nishanth Menon94c6a892018-06-12 15:24:11 -0500119 select ARM_CORTEX_A8_CVE_2017_5715
Michal Simek58008cb2018-07-23 15:55:15 +0200120 select SPECIFY_CONSOLE_INDEX
Adam Ford0a9ef452017-10-16 14:08:26 -0500121 imply NAND_OMAP_ELM
122 imply NAND_OMAP_GPMC
123 imply SPL_NAND_AM33XX_BCH
124 imply SPL_NAND_SUPPORT
Adam Forddaa0f052017-08-07 13:11:34 -0500125 imply SYS_I2C_OMAP24XX
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900126 imply SYS_THUMB_BUILD
Lokesh Vutlaa292eb62017-04-26 13:37:10 +0530127 imply USE_TINY_PRINTF
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900128 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
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900135endchoice
136
Lokesh Vutlac187dd62017-05-05 12:59:07 +0530137config SYS_MPUCLK
138 int "MPU CLK speed"
Adam Ford876ddb52018-10-07 09:58:25 -0500139 depends on AM33XX
Lokesh Vutla59041a52017-05-05 12:59:08 +0530140 default 500
Lokesh Vutlac187dd62017-05-05 12:59:07 +0530141 help
142 Defines the MPU clock speed (in MHz).
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900143
Andrew F. Davis3348e0c2017-07-10 14:45:49 -0500144config TI_SECURE_EMIF_REGION_START
145 hex "Reserved EMIF region start address"
146 depends on TI_SECURE_DEVICE
147 default 0x0
148 help
149 Reserved EMIF region start address. Set to "0" to auto-select
150 to be at the end of the external memory region.
151
152config TI_SECURE_EMIF_TOTAL_REGION_SIZE
153 hex "Reserved EMIF region size"
154 depends on TI_SECURE_DEVICE
155 default 0x0
156 help
157 Total reserved EMIF region size. Default is 0, which means no reserved EMIF
158 region on secure devices.
159
160config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
161 hex "Size of protected region within reserved EMIF region"
162 depends on TI_SECURE_DEVICE
163 default 0x0
164 help
165 This config option is used to specify the size of the portion of the total
166 reserved EMIF region set aside for secure OS needs that will be protected
167 using hardware memory firewalls. This value must be smaller than the
168 TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
169
Andrew F. Davis0fd13592019-01-17 13:43:05 -0600170if AM43XX || AM33XX || OMAP54XX
171config ISW_ENTRY_ADDR
172 hex "Address in memory or XIP address of bootloader entry point"
173 default 0x402F4000 if AM43XX
174 default 0x402F0400 if AM33XX
175 default 0x40301350 if OMAP54XX
176 help
177 After any reset, the boot ROM searches the boot media for a valid
178 boot image. For non-XIP devices, the ROM then copies the image into
179 internal memory. For all boot modes, after the ROM processes the
180 boot image it eventually computes the entry point address depending
181 on the device type (secure/non-secure), boot media (xip/non-xip) and
182 image headers.
183endif
184
Tom Rini983e3702016-11-07 21:34:54 -0500185source "arch/arm/mach-omap2/omap3/Kconfig"
Madan Srinivasa774e082016-05-19 19:10:44 -0500186
Tom Rini983e3702016-11-07 21:34:54 -0500187source "arch/arm/mach-omap2/omap4/Kconfig"
Madan Srinivasa774e082016-05-19 19:10:44 -0500188
Tom Rini983e3702016-11-07 21:34:54 -0500189source "arch/arm/mach-omap2/omap5/Kconfig"
Madan Srinivasa774e082016-05-19 19:10:44 -0500190
Tom Rini983e3702016-11-07 21:34:54 -0500191source "arch/arm/mach-omap2/am33xx/Kconfig"
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900192
193source "board/BuR/brxre1/Kconfig"
194source "board/BuR/brppt1/Kconfig"
195source "board/siemens/draco/Kconfig"
196source "board/siemens/pxm2/Kconfig"
197source "board/siemens/rut/Kconfig"
198source "board/ti/ti814x/Kconfig"
199source "board/ti/ti816x/Kconfig"
200source "board/ti/am43xx/Kconfig"
201source "board/ti/am335x/Kconfig"
202source "board/compulab/cm_t335/Kconfig"
203source "board/compulab/cm_t43/Kconfig"
204
Philipp Tomsichb5299932017-08-03 23:23:55 +0200205config SPL_LDSCRIPT
206 default "arch/arm/mach-omap2/u-boot-spl.lds"
207
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900208endif