xref: /openbmc/u-boot/arch/arm/mach-stm32mp/Kconfig (revision 41c79775)
12514c2d0SPatrick Delaunayif ARCH_STM32MP
22514c2d0SPatrick Delaunay
32514c2d0SPatrick Delaunayconfig SPL
42514c2d0SPatrick Delaunay	select SPL_BOARD_INIT
52514c2d0SPatrick Delaunay	select SPL_CLK
62514c2d0SPatrick Delaunay	select SPL_DM
72514c2d0SPatrick Delaunay	select SPL_DM_SEQ_ALIAS
82514c2d0SPatrick Delaunay	select SPL_FRAMEWORK
92514c2d0SPatrick Delaunay	select SPL_GPIO_SUPPORT
102514c2d0SPatrick Delaunay	select SPL_LIBCOMMON_SUPPORT
112514c2d0SPatrick Delaunay	select SPL_LIBGENERIC_SUPPORT
122514c2d0SPatrick Delaunay	select SPL_OF_CONTROL
132514c2d0SPatrick Delaunay	select SPL_OF_TRANSLATE
142514c2d0SPatrick Delaunay	select SPL_PINCTRL
152514c2d0SPatrick Delaunay	select SPL_REGMAP
162514c2d0SPatrick Delaunay	select SPL_RESET_SUPPORT
172514c2d0SPatrick Delaunay	select SPL_SERIAL_SUPPORT
182514c2d0SPatrick Delaunay	select SPL_SYSCON
1986634a93SPatrick Delaunay	select SPL_DRIVERS_MISC_SUPPORT
202514c2d0SPatrick Delaunay	imply SPL_LIBDISK_SUPPORT
212514c2d0SPatrick Delaunay
222514c2d0SPatrick Delaunayconfig SYS_SOC
232514c2d0SPatrick Delaunay	default "stm32mp"
242514c2d0SPatrick Delaunay
252514c2d0SPatrick Delaunayconfig TARGET_STM32MP1
262514c2d0SPatrick Delaunay	bool "Support stm32mp1xx"
27*41c79775SPatrick Delaunay	select ARCH_SUPPORT_PSCI
282514c2d0SPatrick Delaunay	select CPU_V7
29*41c79775SPatrick Delaunay	select CPU_V7_HAS_NONSEC
30*41c79775SPatrick Delaunay	select CPU_V7_HAS_VIRT
312514c2d0SPatrick Delaunay	select PINCTRL_STM32
322514c2d0SPatrick Delaunay	select STM32_RESET
337842b6a9SAndre Przywara	select SYS_ARCH_TIMER
3486634a93SPatrick Delaunay	select SYSRESET_SYSCON
352514c2d0SPatrick Delaunay	help
362514c2d0SPatrick Delaunay		target STMicroelectronics SOC STM32MP1 family
372514c2d0SPatrick Delaunay		STMicroelectronics MPU with core ARMv7
382514c2d0SPatrick Delaunay
392514c2d0SPatrick Delaunayconfig SYS_TEXT_BASE
402514c2d0SPatrick Delaunay	prompt "U-Boot base address"
412514c2d0SPatrick Delaunay	default 0xC0100000
422514c2d0SPatrick Delaunay	help
432514c2d0SPatrick Delaunay		configure the U-Boot base address
442514c2d0SPatrick Delaunay		when DDR driver is used:
452514c2d0SPatrick Delaunay		  DDR + 1MB (0xC0100000)
462514c2d0SPatrick Delaunay
4711dfd1a3SPatrick Delaunayconfig SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_MMC2
4811dfd1a3SPatrick Delaunay	hex "Partition on MMC2 to use to load U-Boot from"
4911dfd1a3SPatrick Delaunay	depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
5011dfd1a3SPatrick Delaunay	default 1
5111dfd1a3SPatrick Delaunay	help
5211dfd1a3SPatrick Delaunay	  Partition on the second MMC to load U-Boot from when the MMC is being
5311dfd1a3SPatrick Delaunay	  used in raw mode
5411dfd1a3SPatrick Delaunay
55f8598d98SPatrick Delaunaysource "board/st/stm32mp1/Kconfig"
56f8598d98SPatrick Delaunay
572514c2d0SPatrick Delaunayendif
58