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...
No related branches found
No related tags found
Showing
- Makefile 7 additions, 7 deletionsMakefile
- README 5 additions, 95 deletionsREADME
- arch/arm/Makefile 3 additions, 3 deletionsarch/arm/Makefile
- arch/arm/config.mk 6 additions, 6 deletionsarch/arm/config.mk
- arch/arm/cpu/arm11/Makefile 1 addition, 1 deletionarch/arm/cpu/arm11/Makefile
- arch/arm/cpu/arm1176/start.S 1 addition, 1 deletionarch/arm/cpu/arm1176/start.S
- arch/arm/cpu/arm920t/Makefile 1 addition, 1 deletionarch/arm/cpu/arm920t/Makefile
- arch/arm/cpu/arm926ejs/Makefile 2 additions, 2 deletionsarch/arm/cpu/arm926ejs/Makefile
- arch/arm/cpu/arm926ejs/mxs/Makefile 2 additions, 2 deletionsarch/arm/cpu/arm926ejs/mxs/Makefile
- arch/arm/cpu/arm926ejs/sunxi/config.mk 1 addition, 1 deletionarch/arm/cpu/arm926ejs/sunxi/config.mk
- arch/arm/cpu/armv7/Makefile 2 additions, 2 deletionsarch/arm/cpu/armv7/Makefile
- arch/arm/cpu/armv7/cpu.c 1 addition, 1 deletionarch/arm/cpu/armv7/cpu.c
- arch/arm/cpu/armv7/lowlevel_init.S 2 additions, 2 deletionsarch/arm/cpu/armv7/lowlevel_init.S
- arch/arm/cpu/armv7/s5p-common/Makefile 1 addition, 1 deletionarch/arm/cpu/armv7/s5p-common/Makefile
- arch/arm/cpu/armv7/start.S 1 addition, 1 deletionarch/arm/cpu/armv7/start.S
- arch/arm/cpu/armv7/sunxi/Makefile 2 additions, 2 deletionsarch/arm/cpu/armv7/sunxi/Makefile
- arch/arm/cpu/armv8/Makefile 6 additions, 6 deletionsarch/arm/cpu/armv8/Makefile
- arch/arm/cpu/armv8/cache_v8.c 1 addition, 1 deletionarch/arm/cpu/armv8/cache_v8.c
- arch/arm/cpu/armv8/fsl-layerscape/Makefile 1 addition, 1 deletionarch/arm/cpu/armv8/fsl-layerscape/Makefile
- arch/arm/cpu/armv8/fsl-layerscape/cpu.c 7 additions, 7 deletionsarch/arm/cpu/armv8/fsl-layerscape/cpu.c
Loading
Please register or sign in to comment