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 |
| 16 | select SPL_RESET_SUPPORT |
| 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" |
| 27 | select CPU_V7 |
| 28 | select PINCTRL_STM32 |
| 29 | select STM32_RESET |
Patrick Delaunay | 86634a9 | 2018-03-20 14:15:06 +0100 | [diff] [blame] | 30 | select SYSRESET_SYSCON |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 31 | help |
| 32 | target STMicroelectronics SOC STM32MP1 family |
| 33 | STMicroelectronics MPU with core ARMv7 |
| 34 | |
| 35 | config SYS_TEXT_BASE |
| 36 | prompt "U-Boot base address" |
| 37 | default 0xC0100000 |
| 38 | help |
| 39 | configure the U-Boot base address |
| 40 | when DDR driver is used: |
| 41 | DDR + 1MB (0xC0100000) |
| 42 | |
Patrick Delaunay | 11dfd1a | 2018-03-20 10:54:54 +0100 | [diff] [blame] | 43 | config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_MMC2 |
| 44 | hex "Partition on MMC2 to use to load U-Boot from" |
| 45 | depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION |
| 46 | default 1 |
| 47 | help |
| 48 | Partition on the second MMC to load U-Boot from when the MMC is being |
| 49 | used in raw mode |
| 50 | |
Patrick Delaunay | f8598d9 | 2018-03-12 10:46:18 +0100 | [diff] [blame] | 51 | source "board/st/stm32mp1/Kconfig" |
| 52 | |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 53 | endif |