summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/Kconfig.21x
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-stm32mp/Kconfig.21x')
-rw-r--r--arch/arm/mach-stm32mp/Kconfig.21x37
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/Kconfig.21x b/arch/arm/mach-stm32mp/Kconfig.21x
new file mode 100644
index 00000000000..dbde3d75ad4
--- /dev/null
+++ b/arch/arm/mach-stm32mp/Kconfig.21x
@@ -0,0 +1,37 @@
+if STM32MP21X
+
+choice
+ prompt "STM32MP21X board select"
+ optional
+
+config TARGET_ST_STM32MP21X
+ bool "STMicroelectronics STM32MP21X boards"
+ imply BOOTSTAGE
+ imply CMD_BOOTSTAGE
+ help
+ target the STMicroelectronics board with SOC STM32MP21X
+ managed by board/st/stm32mp2
+ The difference between board are managed with devicetree
+
+endchoice
+
+config TEXT_BASE
+ default 0x84000000
+
+config PRE_CON_BUF_ADDR
+ default 0x84800000
+
+config PRE_CON_BUF_SZ
+ default 4096
+
+if DEBUG_UART
+
+# debug on USART2 by default
+config DEBUG_UART_BASE
+ default 0x400e0000
+
+endif
+
+source "board/st/stm32mp2/Kconfig"
+
+endif