cros_ec_sandbox.c: Drop spi.h include
Subsystems (2)
PATCH 1/1 cros_ec_sandbox.c: Drop spi.h include
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.
---
Cc: Simon Glass <[email protected]>
--- drivers/misc/cros_ec_sandbox.c | 1 - 1 file changed, 1 deletion(-)
drivers/misc/cros_ec_sandbox.c +0 -1
@@ -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>
Signature · 1 line
2.43.0
Quoted 5 lines · Tom Rini
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.
Quoted 7 lines
Signed-off-by Tom Rini <[email protected]>---
Cc: Simon Glass <[email protected]>--- drivers/misc/cros_ec_sandbox.c | 1 - 1 file changed, 1 deletion(-)
Quoted 15 lines
drivers/misc/cros_ec_sandbox.c +0
-2@@ -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
Quoted 5 lines · Tom Rini
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.
Applied to u-boot/master, thanks!
[1/1] cros_ec_sandbox.c: Drop spi.h include
commit: 7bf752238327deecda12190154864128d55f78bd
Signature · 1 line
Tom