Files
u-boot/include
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
..
2022-10-30 20:07:16 +01:00
2022-01-19 18:11:34 +01:00
2022-09-29 16:07:57 -04:00
2024-08-26 18:51:49 -06:00
2022-09-24 10:47:01 -04:00
2023-08-25 13:54:33 -04:00
2022-07-26 02:30:56 -06:00
2023-08-08 10:22:03 -04:00
2024-07-29 15:01:04 -06:00
2023-12-21 08:54:37 -05:00
2022-01-30 01:25:00 +00:00
2022-01-30 01:25:00 +00:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2024-07-29 15:01:04 -06:00
2024-08-26 14:05:38 -06:00
2022-01-19 18:11:34 +01:00
2024-06-24 13:34:52 -06:00
2022-01-19 18:11:34 +01:00
2024-02-13 15:38:49 -05:00
2024-07-29 15:01:04 -06:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2024-08-02 15:16:51 -03:00
2022-01-19 18:11:34 +01:00
2024-07-31 16:51:54 +02:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2024-07-29 15:01:04 -06:00
2022-01-19 18:11:34 +01:00
2024-07-29 15:01:04 -06:00
2024-09-12 17:35:37 +02:00
2024-06-14 12:59:07 -06:00
2024-08-26 14:05:38 -06:00
2022-03-15 16:19:29 -04:00
2022-04-06 14:01:42 -04:00
2024-07-29 15:01:04 -06:00
2024-08-15 14:35:15 -06:00
2023-05-02 14:23:34 -04:00
2022-01-19 18:11:34 +01:00
2024-09-24 13:41:20 -06:00
2022-10-18 09:32:53 +08:00
2023-01-20 12:27:06 -05:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2022-07-26 11:29:00 +02:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:50:51 -05:00
2024-07-29 15:01:04 -06:00
2024-08-26 14:05:38 -06:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2024-08-13 06:23:15 +02:00
2022-01-19 18:11:34 +01:00
2021-08-30 14:13:28 -04:00
2023-04-27 13:51:06 -04:00
2022-01-19 18:11:34 +01:00
2023-12-21 11:59:49 -05:00
2023-08-19 04:12:53 +02:00
2024-10-10 16:02:20 -06:00
2022-10-30 20:07:17 +01:00
2024-10-11 11:44:47 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2023-12-21 08:54:37 -05:00
2023-10-11 15:43:55 -04:00
2024-07-29 15:01:04 -06:00
2022-01-24 10:35:10 -05:00
2024-07-29 15:01:04 -06:00
2021-09-28 12:03:20 -04:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2023-12-21 08:54:37 -05:00
2024-09-30 17:48:12 -06:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2024-07-29 15:01:04 -06:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2023-01-16 18:01:10 +08:00
2024-09-12 17:35:37 +02:00
2023-12-21 08:54:37 -05:00
2024-07-29 15:01:04 -06:00
2022-04-01 15:03:13 -04:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2024-07-29 15:01:04 -06:00
2022-01-19 18:11:34 +01:00
2022-04-06 14:03:17 -04:00
2023-10-09 15:24:31 -04:00
2023-02-10 07:41:40 -05:00
2024-07-29 15:01:04 -06:00
2022-01-19 18:11:34 +01:00
2024-06-30 13:58:31 +02:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2024-07-29 15:01:04 -06:00
2022-12-07 16:04:17 -05:00
2024-07-29 15:01:04 -06:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2024-05-22 08:55:29 -06:00
2022-01-19 18:11:34 +01:00
2024-07-29 15:01:04 -06:00