summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2025-01-24 23:43:22 +0000
committerTom Rini <trini@konsulko.com>2025-04-28 12:45:44 -0600
commita8c232c43071ff6ae1e1b1ff314fb3562b307ba8 (patch)
tree8e18b030e563c8bee3fde60977ea6371c645f814 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
parent0527f30672482cb93a7a571bad4ecf5bc147ee49 (diff)
sunxi: H616: dram: remove usage of struct sunxi_ccm_reg
The Allwinner H616 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 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 clock register struct. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c')
0 files changed, 0 insertions, 0 deletions