summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig11
1 files changed, 10 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 30bf225362e..0c25a8fc866 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1264,4 +1264,13 @@ config VPL_IMAGE_SIGN_INFO
endif
config IO_TRACE
- bool
+ bool "Intercept and checksum all I/O accesses"
+ depends on ARM || SANDBOX
+ default y if SANDBOX
+ help
+ When enabled, U-Boot intercepts all I/O accesses and can checksum
+ them or write a list of them out to memory. See the 'iotrace' command
+ for details. This is useful for testing device drivers since it can
+ confirm that the driver behaves the same way before and after a code
+ change. To add support for your architecture, add '#include
+ <iotrace.h>' to the bottom of arch/<arch>/include/asm/io.h and test.