Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Ludovic Barre | 3ed71f8 | 2018-02-27 09:05:18 +0100 | [diff] [blame] | 2 | menuconfig ARCH_STM32 |
Masahiro Yamada | 7e8a0f1 | 2019-07-10 14:13:20 +0900 | [diff] [blame] | 3 | bool "STMicroelectronics STM32 family" |
| 4 | depends on ARM_SINGLE_ARMV7M || ARCH_MULTI_V7 |
Ludovic Barre | 3ed71f8 | 2018-02-27 09:05:18 +0100 | [diff] [blame] | 5 | select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M |
Ludovic Barre | f7dcb04 | 2018-01-16 15:56:00 +0100 | [diff] [blame] | 6 | select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 |
| 7 | select ARM_GIC if ARCH_MULTI_V7 |
| 8 | select ARM_PSCI if ARCH_MULTI_V7 |
Ludovic Barre | 56c6eed | 2019-04-11 15:44:08 +0200 | [diff] [blame] | 9 | select ARM_AMBA |
Alexandre TORGUE | bcb84fb | 2017-01-30 17:33:13 +0100 | [diff] [blame] | 10 | select ARCH_HAS_RESET_CONTROLLER |
Alexandre TORGUE | bcb84fb | 2017-01-30 17:33:13 +0100 | [diff] [blame] | 11 | select CLKSRC_STM32 |
| 12 | select PINCTRL |
| 13 | select RESET_CONTROLLER |
| 14 | select STM32_EXTI |
| 15 | help |
| 16 | Support for STMicroelectronics STM32 processors. |
| 17 | |
Ludovic Barre | 3ed71f8 | 2018-02-27 09:05:18 +0100 | [diff] [blame] | 18 | if ARCH_STM32 |
| 19 | |
| 20 | if ARM_SINGLE_ARMV7M |
| 21 | |
Alexandre TORGUE | bcb84fb | 2017-01-30 17:33:13 +0100 | [diff] [blame] | 22 | config MACH_STM32F429 |
Ludovic Barre | 3ed71f8 | 2018-02-27 09:05:18 +0100 | [diff] [blame] | 23 | bool "STMicroelectronics STM32F429" |
Alexandre TORGUE | bcb84fb | 2017-01-30 17:33:13 +0100 | [diff] [blame] | 24 | default y |
| 25 | |
Alexandre TORGUE | d28bcd5 | 2017-06-12 14:22:45 +0200 | [diff] [blame] | 26 | config MACH_STM32F469 |
Ludovic Barre | 3ed71f8 | 2018-02-27 09:05:18 +0100 | [diff] [blame] | 27 | bool "STMicroelectronics STM32F469" |
Alexandre TORGUE | d28bcd5 | 2017-06-12 14:22:45 +0200 | [diff] [blame] | 28 | default y |
| 29 | |
Alexandre TORGUE | bcb84fb | 2017-01-30 17:33:13 +0100 | [diff] [blame] | 30 | config MACH_STM32F746 |
Ludovic Barre | 3ed71f8 | 2018-02-27 09:05:18 +0100 | [diff] [blame] | 31 | bool "STMicroelectronics STM32F746" |
Alexandre TORGUE | bcb84fb | 2017-01-30 17:33:13 +0100 | [diff] [blame] | 32 | default y |
Alexandre TORGUE | 1e2f016 | 2017-01-30 17:49:02 +0100 | [diff] [blame] | 33 | |
Alexandre Torgue | 550987b | 2017-12-11 09:54:00 +0100 | [diff] [blame] | 34 | config MACH_STM32F769 |
| 35 | bool "STMicroelectronics STM32F769" |
Alexandre Torgue | 550987b | 2017-12-11 09:54:00 +0100 | [diff] [blame] | 36 | default y |
| 37 | |
Alexandre TORGUE | 1e2f016 | 2017-01-30 17:49:02 +0100 | [diff] [blame] | 38 | config MACH_STM32H743 |
Ludovic Barre | 3ed71f8 | 2018-02-27 09:05:18 +0100 | [diff] [blame] | 39 | bool "STMicroelectronics STM32H743" |
Alexandre TORGUE | 1e2f016 | 2017-01-30 17:49:02 +0100 | [diff] [blame] | 40 | default y |
Ludovic Barre | 3ed71f8 | 2018-02-27 09:05:18 +0100 | [diff] [blame] | 41 | |
| 42 | endif # ARMv7-M |
| 43 | |
Ludovic Barre | f7dcb04 | 2018-01-16 15:56:00 +0100 | [diff] [blame] | 44 | if ARCH_MULTI_V7 |
| 45 | |
| 46 | config MACH_STM32MP157 |
| 47 | bool "STMicroelectronics STM32MP157" |
Benjamin Gaignard | f785b42 | 2019-05-21 10:18:19 +0100 | [diff] [blame] | 48 | select ARM_ERRATA_814220 |
Ludovic Barre | f7dcb04 | 2018-01-16 15:56:00 +0100 | [diff] [blame] | 49 | default y |
| 50 | |
| 51 | endif # ARMv7-A |
| 52 | |
Ludovic Barre | 3ed71f8 | 2018-02-27 09:05:18 +0100 | [diff] [blame] | 53 | endif |