On 2026-07-08T22:05:26, Jonas Karlman <[email protected]> wrote:
> spl: Use CONFIG_IS_ENABLED() for LIBCOMMON_SUPPORT checks
>
> Use CONFIG_IS_ENABLED(LIBCOMMON_SUPPORT) instead of directly checking
> CONFIG_SPL_LIBCOMMON_SUPPORT when guarding printf/log calls to depend on
> correct xPL_LIBCOMMON_SUPPORT symbol. Also change to use IS_ENABLED()
> for the XPL_BUILD symbol checks for consistency.
>
> Signed-off-by: Jonas Karlman <[email protected]>
> Reviewed-by: Tom Rini <[email protected]>
>
> boot/common_fit.c        |  2 +-
>  common/spl/spl_usb.c     |  2 +-
>  drivers/mmc/mmc-uclass.c |  4 ++--
>  drivers/mmc/mmc.c        | 16 ++++++++--------
>  drivers/mmc/mmc_legacy.c |  4 ++--
>  include/spl.h            |  6 +++---
>  lib/hang.c               |  2 +-
>  7 files changed, 18 insertions(+), 18 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to