From f5b76fe9e9dc179cc0e29f724d132e530f88b401 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Thu, 19 May 2016 13:15:16 -0700 Subject: libpayload: Fix CONFIG_LP_DEBUG_MALLOC for 64-bit archs New compilers are a little more stringent about defining the same prototype more than once, so some of our CONFIG_LP_DEBUG_MALLOC wrappers don't quite work the way they are written anymore. Also, several of the printf()s weren't written 64-bit safe. And let's add some double-evaluation safety while I'm here anyway... and I have no idea why this ever depended on CONFIG_LP_USB, that just seems like a typo. Change-Id: Ib54ebc3cfba99f372690365b78c7ceb372c0bd45 Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/c/coreboot/+/14921 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin --- payloads/libpayload/Kconfig | 1 - 1 file changed, 1 deletion(-) (limited to 'payloads/libpayload/Kconfig') diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig index fd967c1a52..5dce89ae6f 100644 --- a/payloads/libpayload/Kconfig +++ b/payloads/libpayload/Kconfig @@ -415,7 +415,6 @@ menu "Debugging" config DEBUG_MALLOC bool "Debug memory allocator" - depends on USB default n help Select this option if you want to debug the memory allocator. This -- cgit v1.2.3