aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2022-05-27 10:03:00 -0400
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-05-28 10:59:27 +0200
commit1e5514fd6859e78e3ba2611c020698a451c81b39 (patch)
tree774ed7c15ac2baf44eba594deee8a4b3923df65e
parent018b993bba98cf98cc28c940889b13b791882111 (diff)
downloadu-boot-1e5514fd6859e78e3ba2611c020698a451c81b39.zip
u-boot-1e5514fd6859e78e3ba2611c020698a451c81b39.tar.gz
u-boot-1e5514fd6859e78e3ba2611c020698a451c81b39.tar.bz2
valgrind: Disable on Risc-V
There are no defined instruction sequences in include/valgrind.h for Risc-V, so CONFIG_VALGRIND will do nothing on this arch (and possibly won't compile?). Update Kconfig accordingly. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 797038b..f7e3c33 100644
--- a/Kconfig
+++ b/Kconfig
@@ -305,6 +305,7 @@ config TPL_SYS_MALLOC_F_LEN
config VALGRIND
bool "Inform valgrind about memory allocations"
+ depends on !RISCV
help
Valgrind is an instrumentation framework for building dynamic analysis
tools. In particular, it may be used to detect memory management bugs