On Mon, Mar 13, 2023 at 02:31:25PM -0700, Troy Kisky wrote:

> We need to include <linux/kconfig.h> in order to include
> files that use CONFIG_IS_ENABLED. TO prepare for that
> be more direct with using defined(USE_HOSTCC).
> 
> Signed-off-by: Troy Kisky <[email protected]>
> Reviewed-by: Simon Glass <[email protected]>
> ---
> 
> (no changes since v2)
> 
> Changes in v2:
> - delay include of linux/kconfig.h to do from Makefile
> - as suggested by Simon
> 
>  lib/crc32.c | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)

We end up with two problems with this (and all of the similar patches)
which is first, evb-ast2600 stops petting the watchdog in SPL, and then
the CONFIG_IS_ENABLED macros in host tools makes clang very unhappy.
I'm also not sure that introducing PET_WDT makes the code clearer than
it was before.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to