[PATCH 16/38] sandbox: Move CONFIG_IO_TRACE to Kconfig

Tom Rini trini at konsulko.com
Sun Nov 20 00:45:23 CET 2022


This is only used on sandbox, so select it there.

Cc: Simon Glass <sjg at chromium.org>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/Kconfig              | 1 +
 common/Kconfig            | 3 +++
 include/configs/sandbox.h | 2 --
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index ae397166979b..51d46a45fef1 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 053e93eb1ab4..8c71d3c972bf 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 f69fd0ed39c3..3a5af4b3b609 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
 
 /* GUIDs for capsule updatable firmware images */
-- 
2.25.1



More information about the U-Boot mailing list