summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@mailbox.org>2025-05-12 19:09:05 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2025-06-11 09:42:56 +0200
commit447d1bd05acbfb155abe66514d71629f11fb3927 (patch)
treeb04cac97e3eae75c7a96f7f64089790271b9f9d0 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
parent0298696b1efcbaf05317e5559bdc99cbac36293c (diff)
ram: stm32mp1: Add STM32MP13xx support
Add support for configuring DRAM controller on STM32MP13xx SoC. The DRAM controller is basically identical to the DWC controller on STM32MP15xx SoC, except the bus width is reduced from 32bit to 16bit and a few registers and bits are therefore not present. Handle the difference by factoring these parts out. Use IS_ENABLE() as much as possible to assure code which is not enabled on builds for a single SoC gets compiled out. Handle the different offset of RCC_DDRITFCR register and missing DDRC2 clock the same way. Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions