From: Sean Anderson Date: Fri, 27 May 2022 14:03:00 +0000 (-0400) Subject: valgrind: Disable on Risc-V X-Git-Tag: v2022.07-rc4~5^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e5514fd6859e78e3ba2611c020698a451c81b39;p=thirdparty%2Fu-boot.git 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 Reviewed-by: Heinrich Schuchardt --- diff --git a/Kconfig b/Kconfig index 797038b0371..f7e3c332f07 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