summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-11-19 18:45:23 -0500
committerTom Rini <[email protected]>2022-12-05 16:07:13 -0500
commit68e54040ccc3c5432be720e0cc6da3489eaceef6 (patch)
treed231a98f4f94b7c68ad2064022152aa284f34e2c
parentc136a861054e698dec86f5f7b2a326ad38cd197f (diff)
sandbox: Move CONFIG_IO_TRACE to Kconfig
This is only used on sandbox, so select it there. Cc: Simon Glass <[email protected]> Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
-rw-r--r--arch/Kconfig1
-rw-r--r--common/Kconfig3
-rw-r--r--include/configs/sandbox.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index ae397166979..51d46a45fef 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -146,6 +146,7 @@ config SANDBOX
select DM_SPI
select DM_SPI_FLASH
select GZIP_COMPRESSED
+ select IO_TRACE
select LZO
select OF_BOARD_SETUP
select PCI_ENDPOINT
diff --git a/common/Kconfig b/common/Kconfig
index 053e93eb1ab..8c71d3c972b 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1086,3 +1086,6 @@ config FDT_SIMPLEFB
These functions can be used by board to indicate to the OS
the presence of the simple frame buffer with associated reserved
memory
+
+config IO_TRACE
+ bool
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 1081e0bbc49..1779f1894e7 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -6,8 +6,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_IO_TRACE
-
#define CONFIG_MALLOC_F_ADDR 0x0010000
/* Size of our emulated memory */