Hi Carlo, Thank you for the patch.
On Sun, Sep 06, 2026 at 22:02, Carlo Caione <[email protected]> wrote: > Fastboot currently builds only for U-Boot proper, so its source and > Makefile rules test CONFIG_FASTBOOT_* directly. The same checks would > select U-Boot-proper options when these files are compiled for another > phase, potentially compiling unavailable backends or using the wrong > configuration values. > > Use CONFIG_IS_ENABLED(), CONFIG_VAL() and CONFIG_$(PHASE_) consistently > for code and object selection. The empty phase prefix preserves the > existing U-Boot-proper configuration and behavior while making the > shared implementation safe to reuse from SPL. > > This also makes the Android boot-image condition phase-aware. Since SPL > has no SPL_ANDROID_BOOT_IMAGE option, the existing flash:zimage path > remains available only in U-Boot proper. > > Signed-off-by: Julien Masson <[email protected]> > Signed-off-by: Vitor Sato Eschholz <[email protected]> > Signed-off-by: Carlo Caione <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> > ---
