u-boot/drivers/watchdog
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
..
apple_wdt.c watchdog: Add a driver for the Apple watchdog 2022-01-13 06:55:46 +01:00
arm_smc_wdt.c watchdog: arm_smc_wdt: add watchdog support 2023-04-18 08:42:43 +02:00
armada-37xx-wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ast2600_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ast_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
at91sam9_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
atcwdt200_wdt.c drivers: watchdog: add andes atcwdt200 support 2024-02-01 09:08:44 +01:00
bcm2835_wdt.c watchdog: Add a watchdog driver for Raspberry Pi boards 2023-04-18 08:42:43 +02:00
bcm6345_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
booke_wdt.c watchdog: Add booke watchdog driver 2021-04-15 14:22:17 +05:30
cdns_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cortina_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
da9063-wdt.c da9063: Add watchdog support 2024-10-04 09:51:39 -03:00
designware_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ftwdt010_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
gpio_wdt.c watchdog: gpio_wdt: use __udelay() to avoid recursion 2022-09-27 12:25:40 +02:00
imx_watchdog.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig da9063: Add watchdog support 2024-10-04 09:51:39 -03:00
Makefile Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD" 2024-10-11 12:23:25 -06:00
max6370_wdt.c watchdog: max6370: use __udelay() to avoid recursion 2022-09-27 12:25:51 +02:00
mcf_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
meson_gxbb_wdt.c drivers: watchdog: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
mpc8xxx_wdt.c watchdog: mpc8xxx: Fix timer value 2024-07-05 13:57:02 -06:00
mt7620_wdt.c watchdog: add watchdog driver for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mt7621_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mtk_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
npcm_wdt.c wdt: nuvoton: Fix reset/expire function error 2023-10-19 07:51:12 +02:00
octeontx_wdt.c watchdog: octeontx_wdt: Add MIPS Octeon support 2022-07-21 08:09:06 +02:00
omap_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
orion_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
rti_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
s5p_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sandbox_alarm-wdt.c drivers: watchdog: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
sandbox_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sbsa_gwdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sl28cpld-wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sp805_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
starfive_wdt.c watchdog: Add StarFive Watchdog driver 2023-12-05 16:40:16 +08:00
stm32mp_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sunxi_wdt.c treewide: use linux/time.h for time conversion defines 2023-11-16 18:59:58 -05:00
tangier_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ulp_wdog.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
wdt-uclass.c wdt-uclass: watchdog_reset cleanup 2024-06-16 12:13:54 +02:00
xilinx_tb_wdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
xilinx_wwdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00