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 23:49:27 +0000
committerTom Rini <trini@konsulko.com>2025-04-28 12:45:44 -0600
commit3389c5729766ce0c7d7b64cce0676fe5c963fc0b (patch)
treedb94eb7a737a09882ccb3adbff3906d6e66b30a6 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
parent90b74b3f51a9637c6fa226d0fdf162b6e94a3ecb (diff)
sunxi: H6/H616: dram: remove usage of struct sunxi_prcm_reg
The Allwinner H6 and H616 DRAM initialisation code uses a complex C struct, modelling the PRCM clock register frame. For those SoCs, this struct contains 20 registers, but the DRAM code only uses two of them. Since we want to get rid of this struct, drop the usage of the struct in the H6 and H616 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 PRCM 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