summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2025-01-25 17:56:14 +0000
committerTom Rini <trini@konsulko.com>2025-04-28 12:45:44 -0600
commitc626eff09aea260989ea92644c7ac8016168c7a2 (patch)
tree4dddb24d867a6576d69270e4c5124b66e1fc4b41 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
parenta8c232c43071ff6ae1e1b1ff314fb3562b307ba8 (diff)
sunxi: H6: dram: remove usage of struct sunxi_ccm_reg
The Allwinner H6 DRAM initialisation code uses a complex C struct, modelling the clock device's register frame. For this SoC, the struct contains 127 registers, but the DRAM code only uses four of them. Since we want to get rid of this struct, drop the usage of the struct in the H6 DRAM code, by using #define'd register names and their offset, and then adding those names to the base pointer. This removes one more user of the clock register struct. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions