Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 1 | if ARCH_STM32MP |
| 2 | |
| 3 | config SPL |
| 4 | select SPL_BOARD_INIT |
| 5 | select SPL_CLK |
| 6 | select SPL_DM |
| 7 | select SPL_DM_SEQ_ALIAS |
| 8 | select SPL_FRAMEWORK |
| 9 | select SPL_GPIO_SUPPORT |
| 10 | select SPL_LIBCOMMON_SUPPORT |
| 11 | select SPL_LIBGENERIC_SUPPORT |
| 12 | select SPL_OF_CONTROL |
| 13 | select SPL_OF_TRANSLATE |
| 14 | select SPL_PINCTRL |
| 15 | select SPL_REGMAP |
Ley Foon Tan | bfc6bae | 2018-06-14 18:45:19 +0800 | [diff] [blame] | 16 | select SPL_DM_RESET |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 17 | select SPL_SERIAL_SUPPORT |
| 18 | select SPL_SYSCON |
Patrick Delaunay | 86634a9 | 2018-03-20 14:15:06 +0100 | [diff] [blame] | 19 | select SPL_DRIVERS_MISC_SUPPORT |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 20 | imply SPL_LIBDISK_SUPPORT |
| 21 | |
| 22 | config SYS_SOC |
| 23 | default "stm32mp" |
| 24 | |
| 25 | config TARGET_STM32MP1 |
| 26 | bool "Support stm32mp1xx" |
Patrick Delaunay | 41c7977 | 2018-04-16 10:13:24 +0200 | [diff] [blame] | 27 | select ARCH_SUPPORT_PSCI |
Lokesh Vutla | acf1500 | 2018-04-26 18:21:26 +0530 | [diff] [blame] | 28 | select CPU_V7A |
Patrick Delaunay | 41c7977 | 2018-04-16 10:13:24 +0200 | [diff] [blame] | 29 | select CPU_V7_HAS_NONSEC |
| 30 | select CPU_V7_HAS_VIRT |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 31 | select PINCTRL_STM32 |
Patrick Delaunay | d090cba | 2018-07-09 15:17:20 +0200 | [diff] [blame^] | 32 | select STM32_RCC |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 33 | select STM32_RESET |
Andre Przywara | 7842b6a | 2018-04-12 04:24:46 +0300 | [diff] [blame] | 34 | select SYS_ARCH_TIMER |
Patrick Delaunay | 86634a9 | 2018-03-20 14:15:06 +0100 | [diff] [blame] | 35 | select SYSRESET_SYSCON |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 36 | help |
| 37 | target STMicroelectronics SOC STM32MP1 family |
| 38 | STMicroelectronics MPU with core ARMv7 |
| 39 | |
| 40 | config SYS_TEXT_BASE |
| 41 | prompt "U-Boot base address" |
| 42 | default 0xC0100000 |
| 43 | help |
| 44 | configure the U-Boot base address |
| 45 | when DDR driver is used: |
| 46 | DDR + 1MB (0xC0100000) |
| 47 | |
Patrick Delaunay | 11dfd1a | 2018-03-20 10:54:54 +0100 | [diff] [blame] | 48 | config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_MMC2 |
| 49 | hex "Partition on MMC2 to use to load U-Boot from" |
| 50 | depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION |
| 51 | default 1 |
| 52 | help |
| 53 | Partition on the second MMC to load U-Boot from when the MMC is being |
| 54 | used in raw mode |
| 55 | |
Patrick Delaunay | f8598d9 | 2018-03-12 10:46:18 +0100 | [diff] [blame] | 56 | source "board/st/stm32mp1/Kconfig" |
| 57 | |
Patrick Delaunay | 320d266 | 2018-05-17 14:50:46 +0200 | [diff] [blame] | 58 | # currently activated for debug / should be deactivated for real product |
| 59 | if DEBUG_UART |
| 60 | |
| 61 | config DEBUG_UART_BOARD_INIT |
| 62 | default y |
| 63 | |
| 64 | # debug on UART4 by default |
| 65 | config DEBUG_UART_BASE |
| 66 | default 0x40010000 |
| 67 | |
| 68 | # clock source is HSI on reset |
| 69 | config DEBUG_UART_CLOCK |
| 70 | default 64000000 |
| 71 | endif |
| 72 | |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 73 | endif |