diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/board.c index 065e446e154..9ff861cd3f4 100644 --- a/board/phytec/common/k3/board.c +++ b/board/phytec/common/k3/board.c @@ -171,8 +171,9 @@ int board_late_init(void) } } - if (IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)) - configure_capsule_updates(); +#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) + configure_capsule_updates(); +#endif return 0; }