u-boot/drivers/mmc
Tom Rini 47e544f576 Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD"
Simon Glass <sjg@chromium.org> says:

When the SPL build-phase was first created it was designed to solve a
particular problem (the need to init SDRAM so that U-Boot proper could
be loaded). It has since expanded to become an important part of U-Boot,
with three phases now present: TPL, VPL and SPL

Due to this history, the term 'SPL' is used to mean both a particular
phase (the one before U-Boot proper) and all the non-proper phases.
This has become confusing.

For a similar reason CONFIG_SPL_BUILD is set to 'y' for all 'SPL'
phases, not just SPL. So code which can only be compiled for actual SPL,
for example, must use something like this:

   #if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_TPL_BUILD)

In Makefiles we have similar issues. SPL_ has been used as a variable
which expands to either SPL_ or nothing, to chose between options like
CONFIG_BLK and CONFIG_SPL_BLK. When TPL appeared, a new SPL_TPL variable
was created which expanded to 'SPL_', 'TPL_' or nothing. Later it was
updated to support 'VPL_' as well.

This series starts a change in terminology and usage to resolve the
above issues:

- The word 'xPL' is used instead of 'SPL' to mean a non-proper build
- A new CONFIG_XPL_BUILD define indicates that the current build is an
  'xPL' build
- The existing CONFIG_SPL_BUILD is changed to mean SPL; it is not now
  defined for TPL and VPL phases
- The existing SPL_ Makefile variable is renamed to SPL_
- The existing SPL_TPL Makefile variable is renamed to PHASE_

It should be noted that xpl_phase() can generally be used instead of
the above CONFIGs without a code-space or run-time penalty.

This series does not attempt to convert all of U-Boot to use this new
terminology but it makes a start. In particular, renaming spl.h and
common/spl seems like a bridge too far at this point.

The series is fully bisectable. It has also been checked to ensure there
are no code-size changes on any commit.
2024-10-11 12:23:25 -06:00
..
am654_sdhci.c mmc: am654_sdhci: Add the quirk to set TESTCD bit 2024-07-11 13:15:37 -06:00
arm_pl180_mmci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
arm_pl180_mmci.h mmc: arm_pl180_mmci: Enable HWFC for specific versions of MCI 2021-10-29 18:22:32 +09:00
aspeed_sdhci.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
atmel_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm2835_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm2835_sdhost.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcmstb_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ca_dw_mmc.c mmc: exynos_dw_mmc: Refactor fixed CIU clock divider 2024-08-19 16:09:06 +09:00
cv1800b_sdhci.c mmc: cv1800b: Add transmit tap delay config to fix write error 2024-05-01 22:40:08 +08:00
davinci_mmc.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
dw_mmc.c mmc: dw_mmc: Improve coding style 2024-08-19 16:09:06 +09:00
exynos_dw_mmc.c mmc: exynos_dw_mmc: Improve coding style 2024-08-19 16:09:06 +09:00
f_sdh30.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fsl_esdhc.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
fsl_esdhc_imx.c mmc: fsl_esdhc_imx: Reset tuning logic 2024-10-04 09:15:15 -03:00
fsl_esdhc_spl.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
ftsdc010_mci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ftsdc010_mci.h mmc: dw_mmc: Replace fifoth_val property with fifo-depth 2024-08-19 16:09:06 +09:00
gen_atmel_mci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
hi6220_dw_mmc.c mmc: dw_mmc: Replace fifoth_val property with fifo-depth 2024-08-19 16:09:06 +09:00
iproc_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
jz_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig mmc: Support driver model in TPL 2024-10-03 11:52:16 -06:00
kona_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Makefile global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
meson_gx_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
meson_gx_mmc.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mmc-pwrseq.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mmc-uclass.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
mmc.c Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD" 2024-10-11 12:23:25 -06:00
mmc_boot.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mmc_bootdev.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
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 Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mmc_write.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
msm_sdhci.c mmc: msm_sdhci: program core_vendor_spec 2024-09-05 19:08:14 -06:00
mtk-sd.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
mv_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvebu_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mxcmmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mxsmmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
nexell_dw_mmc.c mmc: dw_mmc: Replace fifoth_val property with fifo-depth 2024-08-19 16:09:06 +09:00
npcm_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
octeontx_hsmmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
octeontx_hsmmc.h treewide: use linux/time.h for time conversion defines 2023-11-16 18:59:58 -05:00
omap_hsmmc.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
owl_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pci_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pic32_sdhci.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
piton_mmc.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
renesas-sdhi.c mmc: renesas-sdhi: Do not access SCC during tuning in send_cmd callback 2024-04-15 15:19:12 +09:00
rockchip_dw_mmc.c Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD" 2024-10-11 12:23:25 -06:00
rockchip_sdhci.c Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD" 2024-10-11 12:23:25 -06:00
rpmb.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
s5p_sdhci.c mmc: exynos_dw_mmc: Read common bus-width property 2024-08-19 16:09:06 +09:00
sandbox_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sdhci-adma.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -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-cadence6.c mmc: sdhci-cadence: Add support for Cadence sdmmc v6 2024-09-05 16:18:38 -06:00
sdhci.c mmc: Use logging instead of printf() 2024-08-23 15:58:41 -06:00
sh_mmcif.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sh_mmcif.h ARM: renesas: Rename ARCH_RMOBILE to ARCH_RENESAS 2024-03-02 14:29:36 -05:00
snps_dw_mmc.c mmc: consider cd-gpios in Synopsys DesignWare driver 2024-09-05 19:08:14 -06: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 Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stm32_sdmmc2.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sunxi_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sunxi_mmc.h sunxi: mmc: Move header to the driver directory 2023-11-12 16:45:08 +00:00
tangier_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tegra_mmc.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
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: tmio: Replace ifdeffery with IS_ENABLED/CONFIG_IS_ENABLED macros 2023-04-07 17:13:27 +02: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 Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
zynq_sdhci.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00