sandbox: Move CONFIG_IO_TRACE to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 19 Nov 2022 23:45:23 +0000 (18:45 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:07:13 +0000 (16:07 -0500)
This is only used on sandbox, so select it there.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/Kconfig
common/Kconfig
include/configs/sandbox.h

index ae39716..51d46a4 100644 (file)
@@ -146,6 +146,7 @@ config SANDBOX
        select DM_SPI
        select DM_SPI_FLASH
        select GZIP_COMPRESSED
        select DM_SPI
        select DM_SPI_FLASH
        select GZIP_COMPRESSED
+       select IO_TRACE
        select LZO
        select OF_BOARD_SETUP
        select PCI_ENDPOINT
        select LZO
        select OF_BOARD_SETUP
        select PCI_ENDPOINT
index 053e93e..8c71d3c 100644 (file)
@@ -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
          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
index 1081e0b..1779f18 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_IO_TRACE
-
 #define CONFIG_MALLOC_F_ADDR           0x0010000
 
 /* Size of our emulated memory */
 #define CONFIG_MALLOC_F_ADDR           0x0010000
 
 /* Size of our emulated memory */