u-boot/drivers/mmc
Andre Przywara 0527f30672 sunxi: mmc: remove usage of struct sunxi_ccm_reg
The Allwinner MMC code uses a complex C struct, modelling the clock
device's register frame. We rely on sharing the member names across all
Allwinner SoCs, which is fragile.

Drop the usage of the struct in the MMC code, by using #define'd
register names and their offset, and then adding those names to the base
pointer. This requires to define those offsets for all SoCs, but since we
only use between four and six clock registers in the MMC code, this is
easily done.

This removes one common user of the clock register struct.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2025-04-28 12:45:44 -06:00
..
adi_sdhci.c mmc: Add support for ADI SC5XX-family processor SDHCI peripherals 2025-03-12 10:24:58 -06:00
am654_sdhci.c mmc: am654_sdhci: Add am654_sdhci_set_control_reg 2025-04-24 10:44:52 -06:00
arm_pl180_mmci.c
arm_pl180_mmci.h
aspeed_sdhci.c
atmel_sdhci.c
bcm2835_sdhci.c
bcm2835_sdhost.c
bcmstb_sdhci.c
ca_dw_mmc.c
cv1800b_sdhci.c
davinci_mmc.c
dw_mmc.c mmc: Allow controlling DM_MMC for VPL builds 2025-02-03 16:00:42 -06:00
exynos_dw_mmc.c
f_sdh30.c
fsl_esdhc_imx.c mmc: fsl_esdhc: Migrate ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE to Kconfig 2025-03-13 15:15:50 -03:00
fsl_esdhc_spl.c
fsl_esdhc.c
ftsdc010_mci.c
ftsdc010_mci.h
gen_atmel_mci.c
hi6220_dw_mmc.c
iproc_sdhci.c
jz_mmc.c
Kconfig mmc: mediatek: permit to also build for Airoha arch 2025-04-16 16:51:45 -06:00
kona_sdhci.c
Makefile Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
meson_gx_mmc.c
meson_gx_mmc.h
mmc_boot.c mmc: mmc_boot: Support Sandisk and Micron eMMC BOOT/RPMB hardware partition resizing 2025-04-11 11:51:04 +08:00
mmc_bootdev.c
mmc_legacy.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
mmc_private.h drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
mmc_spi.c
mmc_write.c mmc: Optimize eMMC erase speed 2025-04-11 11:48:53 +08:00
mmc-pwrseq.c
mmc-uclass.c mmc: Add a new callback function to perform the 74 clocks cycle sequence 2025-04-23 10:41:11 +08:00
mmc.c mmc: Add a new callback function to perform the 74 clocks cycle sequence 2025-04-23 10:41:11 +08:00
msm_sdhci.c mmc: msm_sdhci: Reset clocks before reconfiguration 2025-03-17 13:38:17 +00:00
mtk-sd.c mmc: mediatek: add support for MediaTek MT7987 SoCs 2025-01-30 14:35:14 -06:00
mv_sdhci.c
mvebu_mmc.c
mxcmmc.c
mxsmmc.c
nexell_dw_mmc.c
npcm_sdhci.c
octeontx_hsmmc.c
octeontx_hsmmc.h
omap_hsmmc.c mmc: omap_hsmmc: implement send_init_stream callback 2025-04-23 10:41:11 +08:00
owl_mmc.c
pci_mmc.c
pic32_sdhci.c
piton_mmc.c
renesas-sdhi.c mmc: renesas: Fix R-Car spelling 2024-12-11 08:36:24 +01:00
rockchip_dw_mmc.c mmc: rockchip_dw_mmc: Add support for rk3576 2025-04-23 22:12:05 +08:00
rockchip_sdhci.c mmc: rockchip_sdhci: Add support for RK3576 2025-04-23 22:12:05 +08:00
rpmb.c
s5p_sdhci.c
sandbox_mmc.c
sdhci-adma.c
sdhci-cadence6.c mmc: sdhci-cadence: Add support for Cadence sdmmc v6 2024-09-05 16:18:38 -06:00
sdhci-cadence.c mmc: sdhci-cadence: Add support for Cadence sdmmc v6 2024-09-05 16:18:38 -06:00
sdhci-cadence.h mmc: sdhci-cadence: Add support for Cadence sdmmc v6 2024-09-05 16:18:38 -06:00
sdhci.c mmc: am654_sdhci: Add am654_sdhci_set_control_reg 2025-04-24 10:44:52 -06:00
sh_mmcif.c
sh_mmcif.h
snps_dw_mmc.c mmc: dw_mmc: Add "starfive, jh7110-mmc" compatible to match upstream DT 2024-12-18 13:19:15 +08:00
snps_sdhci.c mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC 2024-12-18 13:19:16 +08:00
socfpga_dw_mmc.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
sti_sdhci.c
stm32_sdmmc2.c
sunxi_mmc.c sunxi: mmc: remove usage of struct sunxi_ccm_reg 2025-04-28 12:45:44 -06:00
sunxi_mmc.h sunxi: mmc: Improve reset procedure 2025-03-27 00:26:35 +00:00
tangier_sdhci.c
tegra_mmc.c
tmio-common.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
tmio-common.h mmc: renesas: Fix R-Car spelling 2024-12-11 08:36:24 +01:00
uniphier-sd.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
xenon_sdhci.c
zynq_sdhci.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00