[PATCH v1 05/24] lib: sha256: prepare for CONFIG_IS_ENABLED changes

Simon Glass sjg at chromium.org
Wed Feb 22 22:19:54 CET 2023


On Tue, 21 Feb 2023 at 18:38, Troy Kisky <troykiskyboundary at gmail.com> wrote:
>
> We need to include <linux/kconfig.h> in order to include
> files that use CONFIG_IS_ENABLED. TO prepare for that
> don't pet the watchdog when USE_HOSTCC is defined.
>
> Signed-off-by: Troy Kisky <troykiskyboundary at gmail.com>
> ---
>
>  lib/sha256.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

BTW it might be possible to use '-include linux/kconfig.h' in
tools/Makefile like we do in Makefile


More information about the U-Boot mailing list