u-boot/drivers/spi
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
..
altera_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
apple_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
atcspi200_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
ath79_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
atmel-quadspi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
atmel_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
atmel_spi.h
bcm63xx_hsspi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
bcm63xx_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
bcmbca_hsspi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
bcmstb_spi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ca_sflash.c Merge patch series "spi: Various Kconfig fixes" 2024-10-09 14:52:44 -06:00
cadence_ospi_versal.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cadence_qspi.c spi: versal2: Enable spi drivers for Versal Gen 2 2024-06-17 16:02:29 +02:00
cadence_qspi.h spi: cadence_qspi: Address the comparison failure for 0-8 bytes of data 2024-01-29 19:34:17 +05:30
cadence_qspi_apb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cf_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
cv1800b_spif.c spi: cv1800b: Add spi nor flash controller driver for cv1800b SoC 2024-05-02 00:01:18 +08:00
davinci_spi.c Merge patch series "spi-nor: Add parallel and stacked memories support" 2024-10-09 09:02:22 -06:00
designware_spi.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
exynos_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fsl_dspi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
fsl_espi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
fsl_qspi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
gxp_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
ich.c xpl: Rename spl_phase() to xpl_phase() 2024-10-11 11:44:47 -06:00
ich.h x86: spl: Move priv/plat structs to headers 2021-01-05 12:24:41 -07:00
iproc_qspi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig Merge patch series "spi: Various Kconfig fixes" 2024-10-09 14:52:44 -06:00
kirkwood_spi.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_spifc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
meson_spifc_a1.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
microchip_coreqspi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mpc8xx_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
mpc8xxx_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
mscc_bb_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
mt7620_spi.c spi: add spi controller support for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mt7621_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mtk_snfi_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mtk_snor.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mtk_spim.c Merge patch series "spi: Various Kconfig fixes" 2024-10-09 14:52:44 -06:00
mvebu_a3700_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mxc_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
mxs_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
npcm_fiu_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
npcm_pspi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
nxp_fspi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
octeon_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
omap3_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
pic32_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
pl022_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
renesas_rpc_spi.c mtd: spi: renesas: Add R-Car Gen4 DT compatible 2024-09-09 01:10:33 +02:00
rk_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
rk_spi.h
rockchip_sfc.c Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD" 2024-10-11 12:23:25 -06:00
sandbox_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sh_qspi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
soft_spi.c spi: soft_spi: Parse cs-gpios only if num-chipselects is not <0> 2024-08-15 11:28:47 -06:00
spi-aspeed-smc.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
spi-emul-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spi-mem-nodm.c Prepare v2024.01-rc3 2023-11-20 09:19:50 -05:00
spi-mem.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spi-mxic.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
spi-qup.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
spi-sifive.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
spi-sn-f-ospi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
spi-sunxi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
spi-synquacer.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
spi-uclass.c Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD" 2024-10-11 12:23:25 -06:00
spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stm32_qspi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
stm32_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
tegra20_sflash.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tegra20_slink.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tegra114_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tegra210_qspi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tegra_spi.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
ti_qspi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
uniphier_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
xilinx_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
zynq_qspi.c spi: zynq_qspi: Add parallel memories support in QSPI driver 2024-10-09 09:01:54 -06:00
zynq_spi.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
zynqmp_gqspi.c spi: zynqmp_gqspi: Add parallel memories support in GQSPI driver 2024-10-09 09:01:54 -06:00