]> Git Repo - J-u-boot.git/blame - arch/arm/mach-stm32mp/Kconfig
stm32mp1: spl: add spl_display_print
[J-u-boot.git] / arch / arm / mach-stm32mp / Kconfig
CommitLineData
2514c2d0
PD
1if ARCH_STM32MP
2
3config SPL
4 select SPL_BOARD_INIT
5 select SPL_CLK
6 select SPL_DM
7 select SPL_DM_SEQ_ALIAS
bc06134e 8 select SPL_DRIVERS_MISC_SUPPORT
2514c2d0
PD
9 select SPL_FRAMEWORK
10 select SPL_GPIO_SUPPORT
11 select SPL_LIBCOMMON_SUPPORT
12 select SPL_LIBGENERIC_SUPPORT
13 select SPL_OF_CONTROL
14 select SPL_OF_TRANSLATE
15 select SPL_PINCTRL
16 select SPL_REGMAP
bfc6bae8 17 select SPL_DM_RESET
2514c2d0
PD
18 select SPL_SERIAL_SUPPORT
19 select SPL_SYSCON
86634a93 20 select SPL_DRIVERS_MISC_SUPPORT
006ea189 21 imply SPL_DISPLAY_PRINT
2514c2d0
PD
22 imply SPL_LIBDISK_SUPPORT
23
24config SYS_SOC
25 default "stm32mp"
26
27config TARGET_STM32MP1
28 bool "Support stm32mp1xx"
abf2678f 29 select ARCH_SUPPORT_PSCI if !STM32MP1_TRUSTED
acf15001 30 select CPU_V7A
abf2678f 31 select CPU_V7_HAS_NONSEC if !STM32MP1_TRUSTED
41c79775 32 select CPU_V7_HAS_VIRT
2514c2d0 33 select PINCTRL_STM32
d090cbab 34 select STM32_RCC
2514c2d0 35 select STM32_RESET
7842b6a9 36 select SYS_ARCH_TIMER
abf2678f
PD
37 imply SYSRESET_PSCI if STM32MP1_TRUSTED
38 imply SYSRESET_SYSCON if !STM32MP1_TRUSTED
2514c2d0
PD
39 help
40 target STMicroelectronics SOC STM32MP1 family
41 STMicroelectronics MPU with core ARMv7
42
abf2678f
PD
43config STM32MP1_TRUSTED
44 bool "Support trusted boot with TF-A"
45 default y if !SPL
46 select ARM_SMCCC
47 help
48 Say Y here to enable boot with TF-A
49 Trusted boot chain is :
50 BootRom => TF-A.stm32 (clock & DDR) => U-Boot.stm32
51 TF-A monitor provides proprietary smc to manage secure devices
52
2514c2d0
PD
53config SYS_TEXT_BASE
54 prompt "U-Boot base address"
55 default 0xC0100000
56 help
57 configure the U-Boot base address
58 when DDR driver is used:
59 DDR + 1MB (0xC0100000)
60
11dfd1a3
PD
61config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_MMC2
62 hex "Partition on MMC2 to use to load U-Boot from"
63 depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
64 default 1
65 help
66 Partition on the second MMC to load U-Boot from when the MMC is being
67 used in raw mode
68
f8598d98
PD
69source "board/st/stm32mp1/Kconfig"
70
320d2663
PD
71# currently activated for debug / should be deactivated for real product
72if DEBUG_UART
73
74config DEBUG_UART_BOARD_INIT
75 default y
76
77# debug on UART4 by default
78config DEBUG_UART_BASE
79 default 0x40010000
80
81# clock source is HSI on reset
82config DEBUG_UART_CLOCK
83 default 64000000
84endif
85
2514c2d0 86endif
This page took 0.107856 seconds and 4 git commands to generate.