u-boot/common
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
..
eeprom Merge patch series "'eeprom' command improvements" 2024-06-07 10:48:41 -06:00
init global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
spl Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD" 2024-10-11 12:23:25 -06:00
autoboot.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
avb_verify.c common: avb_verify: add str_avb_io_error/str_avb_slot_error 2024-02-15 10:38:34 +01:00
bloblist.c xpl: Rename spl_next_phase() and spl_prev_phase() 2024-10-11 11:44:47 -06:00
board_f.c xpl: Rename spl_phase() to xpl_phase() 2024-10-11 11:44:47 -06:00
board_info.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
board_r.c common: board_r: rework BOOT LED handling 2024-10-10 16:02:20 -06:00
bootstage.c global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
bouncebuf.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
button_cmd.c include: Move snprintf to stdio.h 2024-05-22 08:55:29 -06:00
cli.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cli_getch.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cli_hush.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
cli_hush_modern.c cli: modern_hush: Add upstream commits up to 13 July 2024 2024-09-13 13:43:56 -06:00
cli_hush_upstream.c cli: modern_hush: Add upstream commits up to 13 July 2024 2024-09-13 13:43:56 -06:00
cli_readline.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
cli_simple.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
command.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
console.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
cros_ec.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cyclic.c cyclic: make clients embed a struct cyclic_info in their own data structure 2024-06-16 12:13:44 +02:00
ddr_spd.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dfu.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dlmalloc.c dlmalloc: Make sure allocation size is within malloc area 2024-08-15 16:14:36 -06:00
dlmalloc.src
edid.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
event.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
exports.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
flash.c Merge patch series "Miscellaneous fixes" 2024-09-24 13:41:21 -06:00
hash.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
hwconfig.c global_data: Remove environment members if not used 2024-08-26 14:06:08 -06:00
iomux.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
iotrace.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
kallsyms.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
Kconfig Merge patch series "Miscellaneous fixes" 2024-09-24 13:41:21 -06:00
kgdb.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
kgdb_stubs.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
log.c log: Add a new log category for the console 2024-09-18 13:00:59 -06:00
log_console.c log: Avoid including function names by default 2024-08-23 15:58:41 -06:00
log_syslog.c log: Avoid including function names by default 2024-08-23 15:58:41 -06:00
main.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
malloc_simple.c global_data: Reduce size of early-malloc vars 2024-08-26 14:06:08 -06:00
mcheck_core.inc.h mcheck: let mcheck_abortfunc_t print the pointer 2024-04-12 16:23:06 -06:00
memsize.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
menu.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
miiphyutil.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
qfw.c qemu: Move qfw kernel setup into a common file 2023-02-06 13:04:53 -05:00
s_record.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
scp03.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
splash.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
splash_source.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
stackprot.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
system_map.c
update.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
usb.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
usb_hub.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
usb_kbd.c dm: usb: Deal with USB keyboard persisting across tests 2024-09-18 13:01:00 -06:00
usb_onboard_hub.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
usb_storage.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
version.c version: Separate our version string from the version command 2023-11-07 14:48:19 -05:00
xyzModem.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00