blob: c07dd68e6cee59921981a16ebc04d75724a3bf7e [file] [log] [blame]
Masahiro Yamada6e1288c2017-04-25 13:10:11 +09001if ARCH_OMAP2PLUS
2
3choice
4 prompt "OMAP2+ platform select"
Tom Rini3d46f242017-06-09 16:59:17 -04005 default OMAP34XX
Masahiro Yamada6e1288c2017-04-25 13:10:11 +09006
Masahiro Yamada6e1288c2017-04-25 13:10:11 +09007config OMAP34XX
8 bool "OMAP34XX SoC"
Michal Simek7e7ba3b2018-07-23 15:55:15 +02009 select ARM_CORTEX_A8_CVE_2017_5715
Masahiro Yamada6e1288c2017-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
Simon Glass7611ac62019-09-25 08:56:27 -060014 select SPL_USE_TINY_PRINTF if SPL
Adam Ford5b7c9f02017-10-16 14:08:26 -050015 imply NAND_OMAP_GPMC
Tien Fong Chee6091dd12019-01-23 14:20:05 +080016 imply SPL_FS_EXT4
Tien Fong Chee6fd0a712019-01-23 14:20:03 +080017 imply SPL_FS_FAT
Simon Glass035939e2021-07-10 21:14:30 -060018 imply SPL_GPIO
Simon Glassbccfc2e2021-07-10 21:14:36 -060019 imply SPL_I2C
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090020 imply SPL_LIBCOMMON_SUPPORT
21 imply SPL_LIBDISK_SUPPORT
22 imply SPL_LIBGENERIC_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -060023 imply SPL_MMC
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090024 imply SPL_NAND_SUPPORT
Adam Fordb315e4c2017-08-11 08:51:20 -050025 imply SPL_OMAP3_ID_NAND
Simon Glasse91ac4c2021-07-10 21:14:24 -060026 imply SPL_POWER
Simon Glassf4d60392021-08-08 12:20:12 -060027 imply SPL_SERIAL
Adam Ford85901162017-08-07 13:11:34 -050028 imply SYS_I2C_OMAP24XX
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090029 imply SYS_THUMB_BUILD
Adam Fordbc168042017-04-26 13:41:31 -050030 imply TWL4030_POWER
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090031
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090032config OMAP54XX
33 bool "OMAP54XX SoC"
Michal Simek7e7ba3b2018-07-23 15:55:15 +020034 select ARM_CORTEX_A15_CVE_2017_5715
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090035 select ARM_ERRATA_798870
Tom Rini7d3684a2023-01-16 15:46:49 -050036 select DM_EVENT
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090037 select SYS_THUMB_BUILD
Adam Ford5b7c9f02017-10-16 14:08:26 -050038 imply NAND_OMAP_ELM
39 imply NAND_OMAP_GPMC
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090040 imply SPL_DISPLAY_PRINT
41 imply SPL_ENV_SUPPORT
Tien Fong Chee6091dd12019-01-23 14:20:05 +080042 imply SPL_FS_EXT4
Tien Fong Chee6fd0a712019-01-23 14:20:03 +080043 imply SPL_FS_FAT
Simon Glass035939e2021-07-10 21:14:30 -060044 imply SPL_GPIO
Simon Glassbccfc2e2021-07-10 21:14:36 -060045 imply SPL_I2C
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090046 imply SPL_LIBCOMMON_SUPPORT
47 imply SPL_LIBDISK_SUPPORT
48 imply SPL_LIBGENERIC_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -060049 imply SPL_MMC
Adam Ford5b7c9f02017-10-16 14:08:26 -050050 imply SPL_NAND_AM33XX_BCH
51 imply SPL_NAND_AM33XX_BCH
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090052 imply SPL_NAND_SUPPORT
Simon Glasse91ac4c2021-07-10 21:14:24 -060053 imply SPL_POWER
Simon Glassf4d60392021-08-08 12:20:12 -060054 imply SPL_SERIAL
Adam Ford85901162017-08-07 13:11:34 -050055 imply SYS_I2C_OMAP24XX
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090056
57config AM43XX
58 bool "AM43XX SoC"
Tom Rinie69ba982018-03-06 19:02:27 -050059 select SPECIFY_CONSOLE_INDEX
Philip Oberfichtner5833e1b2022-08-17 15:07:12 +020060 select SYS_L2_PL310 if !SYS_L2CACHE_OFF
Adam Ford5b7c9f02017-10-16 14:08:26 -050061 imply NAND_OMAP_ELM
62 imply NAND_OMAP_GPMC
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090063 imply SPL_DM
64 imply SPL_DM_SEQ_ALIAS
Adam Ford5b7c9f02017-10-16 14:08:26 -050065 imply SPL_NAND_AM33XX_BCH
66 imply SPL_NAND_SUPPORT
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090067 imply SPL_OF_CONTROL
68 imply SPL_OF_TRANSLATE
69 imply SPL_SEPARATE_BSS
70 imply SPL_SYS_MALLOC_SIMPLE
Adam Ford85901162017-08-07 13:11:34 -050071 imply SYS_I2C_OMAP24XX
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090072 imply SYS_THUMB_BUILD
73 help
74 Support for AM43xx SOC from Texas Instruments.
75 The AM43xx high performance SOC features a Cortex-A9
76 ARM core, a quad core PRU-ICSS for industrial Ethernet
77 protocols, dual camera support, optional 3D graphics
78 and an optional customer programmable secure boot.
79
80config AM33XX
81 bool "AM33XX SoC"
Nishanth Menon7afce442018-06-12 15:24:11 -050082 select ARM_CORTEX_A8_CVE_2017_5715
Tom Rini7d3684a2023-01-16 15:46:49 -050083 select DM_EVENT
Michal Simek7e7ba3b2018-07-23 15:55:15 +020084 select SPECIFY_CONSOLE_INDEX
Adam Ford5b7c9f02017-10-16 14:08:26 -050085 imply NAND_OMAP_ELM
86 imply NAND_OMAP_GPMC
Tom Rinie1e85442021-08-27 21:18:30 -040087 imply SKIP_LOWLEVEL_INIT
Adam Ford5b7c9f02017-10-16 14:08:26 -050088 imply SPL_NAND_AM33XX_BCH
89 imply SPL_NAND_SUPPORT
Adam Ford85901162017-08-07 13:11:34 -050090 imply SYS_I2C_OMAP24XX
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090091 imply SYS_THUMB_BUILD
Simon Glass7611ac62019-09-25 08:56:27 -060092 imply SPL_USE_TINY_PRINTF
Masahiro Yamada6e1288c2017-04-25 13:10:11 +090093 help
94 Support for AM335x SOC from Texas Instruments.
95 The AM335x high performance SOC features a Cortex-A8
96 ARM core, a dual core PRU-ICSS for industrial Ethernet
97 protocols, optional 3D graphics and an optional customer
98 programmable secure boot.
99
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900100endchoice
101
Lokesh Vutla14426ca2017-05-05 12:59:07 +0530102config SYS_MPUCLK
103 int "MPU CLK speed"
Adam Ford99520872018-10-07 09:58:25 -0500104 depends on AM33XX
Lokesh Vutla1bda3732017-05-05 12:59:08 +0530105 default 500
Lokesh Vutla14426ca2017-05-05 12:59:07 +0530106 help
107 Defines the MPU clock speed (in MHz).
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900108
Tom Rini7ea43c52022-11-16 13:10:32 -0500109config SYS_OMAP_ABE_SYSCK
110 bool
111
Andrew F. Davis79081522017-07-10 14:45:49 -0500112config TI_SECURE_EMIF_REGION_START
113 hex "Reserved EMIF region start address"
114 depends on TI_SECURE_DEVICE
115 default 0x0
116 help
117 Reserved EMIF region start address. Set to "0" to auto-select
118 to be at the end of the external memory region.
119
120config TI_SECURE_EMIF_TOTAL_REGION_SIZE
121 hex "Reserved EMIF region size"
122 depends on TI_SECURE_DEVICE
123 default 0x0
124 help
125 Total reserved EMIF region size. Default is 0, which means no reserved EMIF
126 region on secure devices.
127
128config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
129 hex "Size of protected region within reserved EMIF region"
130 depends on TI_SECURE_DEVICE
131 default 0x0
132 help
133 This config option is used to specify the size of the portion of the total
134 reserved EMIF region set aside for secure OS needs that will be protected
135 using hardware memory firewalls. This value must be smaller than the
136 TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
137
Tom Rinid7a06e72022-06-25 11:02:37 -0400138config SYS_AUTOMATIC_SDRAM_DETECTION
139 bool
140
141choice
Tom Rini8c6b4372024-07-15 13:35:53 -0600142 depends on OMAP54XX
Tom Rinid7a06e72022-06-25 11:02:37 -0400143 prompt "Static or dynamic DDR timing calculations"
144 default SYS_EMIF_PRECALCULATED_TIMING_REGS
145 help
146 For the DDR timing information we can either dynamically determine
147 the timings to use or use pre-determined timings (based on using the
148 dynamic method). Default to the static timing information.
149
150config SYS_EMIF_PRECALCULATED_TIMING_REGS
151 bool "Use precalcualted timing values"
152
153config SYS_DEFAULT_LPDDR2_TIMINGS
154 bool "Use default LPDDR2 timing values"
155 select SYS_AUTOMATIC_SDRAM_DETECTION
156
157endchoice
158
Tom Rini28eec372016-11-07 21:34:54 -0500159source "arch/arm/mach-omap2/omap3/Kconfig"
Madan Srinivas8a536e92016-05-19 19:10:44 -0500160
Tom Rini28eec372016-11-07 21:34:54 -0500161source "arch/arm/mach-omap2/omap5/Kconfig"
Madan Srinivas8a536e92016-05-19 19:10:44 -0500162
Tom Rini28eec372016-11-07 21:34:54 -0500163source "arch/arm/mach-omap2/am33xx/Kconfig"
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900164
165source "board/BuR/brxre1/Kconfig"
Hannes Schmelzer82088482019-08-01 07:04:46 +0200166source "board/BuR/brsmarc1/Kconfig"
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900167source "board/BuR/brppt1/Kconfig"
168source "board/siemens/draco/Kconfig"
169source "board/siemens/pxm2/Kconfig"
170source "board/siemens/rut/Kconfig"
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900171source "board/ti/am43xx/Kconfig"
172source "board/ti/am335x/Kconfig"
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900173source "board/compulab/cm_t43/Kconfig"
Niel Fouried3951852019-06-03 15:31:17 +0200174source "board/phytec/phycore_am335x_r2/Kconfig"
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900175
176endif