[PATCH] cros_ec_sandbox.c: Drop spi.h include
Simon Glass
sjg at chromium.org
Thu Apr 17 16:08:19 CEST 2025
On Thu, 17 Apr 2025 at 07:56, Tom Rini <trini at konsulko.com> wrote:
>
> As this driver needs to use the special sandbox <asm/malloc.h> header
> rather than normal malloc, it must be careful of the includes it brings
> in. It does not need <spi.h> for anything, so drop it.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Simon Glass <sjg at chromium.org>
> ---
> drivers/misc/cros_ec_sandbox.c | 1 -
> 1 file changed, 1 deletion(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
> diff --git a/drivers/misc/cros_ec_sandbox.c b/drivers/misc/cros_ec_sandbox.c
> index 1cad51d474de..3ac690a37336 100644
> --- a/drivers/misc/cros_ec_sandbox.c
> +++ b/drivers/misc/cros_ec_sandbox.c
> @@ -15,7 +15,6 @@
> #include <log.h>
> #include <os.h>
> #include <u-boot/sha256.h>
> -#include <spi.h>
> #include <time.h>
> #include <asm/malloc.h>
> #include <asm/state.h>
> --
> 2.43.0
>
More information about the U-Boot
mailing list