ARM: stm32: Limit early cache enablement in SPL to STM32MP15xx
authorMarek Vasut <marek.vasut@mailbox.org>
Mon, 30 Jun 2025 00:10:29 +0000 (02:10 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 29 Jul 2025 15:02:31 +0000 (17:02 +0200)
commita36e87127a39734bff1896a4fa5bdab546bce6f4
tree84a5ec2fbc796d2d341e103d1b4c89ee18fb8b11
parentb87ebbe87c05cf5759c5ca93f3749089fdcc4a20
ARM: stm32: Limit early cache enablement in SPL to STM32MP15xx

The STM32MP13xx SRAM size is half that the SRAM size on STM32MP15xx,
disable early dcache start on STM32MP13xx as the TLB itself takes
about a quarter of the SPL size. The dcache will be enabled later,
once DRAM is available and TLB can be placed in DRAM.

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
arch/arm/mach-stm32mp/stm32mp1/cpu.c
arch/arm/mach-stm32mp/stm32mp1/spl.c