ARM: stm32: Fix SYSRAM size on STM32MP13xx
authorMarek Vasut <marek.vasut@mailbox.org>
Mon, 12 May 2025 16:44:04 +0000 (18:44 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 11 Jun 2025 07:42:55 +0000 (09:42 +0200)
commit380d6f8c1951c7a3bc9628ffdb70e7fcf89b61e8
treec95d37269d26783c3fd48246e88a4e5c2c5b74e2
parent7df29a172a631509586ae12d5e722c4fee565558
ARM: stm32: Fix SYSRAM size on STM32MP13xx

The STM32MP13xx has only 128 kiB of SYSRAM starting at address 0x2ffe0000 .
The STM32MP15xx has 256 kiB of SYSRAM starting at address 0x2ffc0000 . Make
sure both SoCs configure ARMV7_SECURE_BASE correctly . Define the SYSRAM
base in stm32.h to be consistent with the STM32MP15xx macro.

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/cpu/armv7/Kconfig
arch/arm/mach-stm32mp/include/mach/stm32.h