cros_ec_sandbox.c: Drop spi.h include
authorTom Rini <trini@konsulko.com>
Thu, 17 Apr 2025 13:56:15 +0000 (07:56 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 28 Apr 2025 19:25:00 +0000 (13:25 -0600)
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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/misc/cros_ec_sandbox.c

index 1cad51d..3ac690a 100644 (file)
@@ -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>